Adding Microsoft Accounts to Azure Active Director

2019-09-06 03:43发布

Does anyone know a way in which to add Microsoft Accounts to Azure Active Directory programmatically?

Unable to find any Cmdlets in the AzureAD PowerShell module other than Work Account creation. Seems that the Graph API is the same as well.

2条回答
虎瘦雄心在
2楼-- · 2019-09-06 03:59

Did you trye Azure Active Directory Authentication Library? Here is the nuget: https://www.nuget.org/packages/Microsoft.IdentityModel.Clients.ActiveDirectory/

查看更多
Animai°情兽
3楼-- · 2019-09-06 04:00

It is still not able to add the external users programmatically at present. If you want this feature, you may vote the feedback here about using PowerShell to add external users.

And if you want to use other languages or the Azure AD Graph REST, you can also submit the feedback from link below:

https://feedback.azure.com/

查看更多
登录 后发表回答