Jenish Zinzuvadiya
Jenish Zinzuvadiya

Reputation: 1085

How to add Azure Active Directory role via Graph API or PowerShell?

I have an multi-tenant web application for different Azure accounts. I want to add a new custom directory role via PowerShell or Graph API so that I can automate things. I've walked through the reference for the Graph API but there was no any way to do this.

https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/api-catalog#directory-role-operations

It is possible with PowerShell?

I also want create a new Azure Active Directory programmatically, if possible.

Upvotes: 1

Views: 726

Answers (1)

Philippe Signoret
Philippe Signoret

Reputation: 14356

Custom directory roles are not yet supported in Azure AD, only built-in roles.

Programmatically creating a new Azure AD directory is not supported.

Upvotes: 1

Related Questions