- Use a Service Principal, not a Managed Identity, as Managed Identities cannot be addressed outside of Azure.
- There is no way to directly create a service principal using the Azure portal. Use the
azCLI.
az ad sp create-for-rbac --name "MyServicePrincipalName"- Create Personal Access Token