Minimum Permissions for Azure AD Powershell

Silver Contributor

What is the minimum permission/role that a user needs to Get data from Azure AD with PowerShell? to write data?


2 Replies

By default anyone in the organization can connect with AAD/MSOL PowerShell and "read" data. You can control this via the "UsersPermissionToReadOtherUsersEnabled" setting. For "write", he needs to have one of the admin roles assigned.

Minimum role required for Add-MsolRoleMember cmdlet