Hi @Ryan Tay
Thanks for the question and using MS Q&A platform.
To resolve the first error message, please refer to a similar issue discussed on the Microsoft Q&A platform: https://learn.microsoft.com/en-us/answers/questions/1665352/how-to-create-service-principal-link-to-the-azure
The error "Principal '___-adf' could not be created" suggests that you might not have the necessary permissions to create a principal. Only connections established with Active Directory accounts can create other Active Directory users. Ensure that you are logged in with an account that has the appropriate permissions to create users.
If you are trying to create a role assignment for a service principal, ensure that you manually add the service principal as a Synapse Administrator or Synapse SQL Administrator in the Azure portal.
For more details refer to these documentations: Microsoft Entra service principals with Azure SQL
Hope this helps. Do let us know if you have any further queries.