How to add application to Azure AD programmatically?

前端 未结 4 1812
走了就别回头了
走了就别回头了 2020-11-30 04:58

I want to automate the creation of my application in Azure AD and get back the client id generated by Azure AD.

Are there PowerShell commandlets to do this? Is there

4条回答
  •  青春惊慌失措
    2020-11-30 05:17

    Microsoft has released a couple of additional PowerShell cmdlets to register an app and set credentials:

    New-AzureRmADApplication
    New-AzureRmADServicePrincipal
    New-AzureRmRoleAssignment 
    Add-AzureADApplicationCredential 
    

    Please review their documentation: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-authenticate-service-principal

提交回复
热议问题