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.
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.
Did you trye Azure Active Directory Authentication Library? Here is the nuget: https://www.nuget.org/packages/Microsoft.IdentityModel.Clients.ActiveDirectory/
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/