Get-AzureADTenantDetail
This article provides migration details from Get-AzureADTenantDetail command to Microsoft Graph PowerShell.
Summary
- Azure AD Command: Get-AzureADTenantDetail
- Azure AD Module: AzureAD
- Microsoft Graph Command: Get-MgOrganization (Community Examples)
- Graph Module: Microsoft.Graph.Identity.DirectoryManagement
- Graph Endpoint: /organization | /organization/{organization-id}
Permissions
Permission type | Permissions (from least to most privileged) |
---|---|
Delegated (work or school account) | User.Read, Organization.Read.All, Directory.Read.All, Organization.ReadWrite.All, Directory.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. |
Application | Organization.Read.All, Directory.Read.All, Organization.ReadWrite.All, Directory.ReadWrite.All |
View more details on permissions.
Property Mapping
Azure AD Name | Microsoft Graph Name |
---|---|
All | All |
NA | OrganizationId |
Top | Top |