Dela via


Find Azure AD PowerShell and MSOnline cmdlets in Microsoft Graph PowerShell

You can use this map of Azure AD PowerShell and MSOnline cmdlets to find the cmdlets that you need in the Microsoft Graph PowerShell SDK. For more information about the new cmdlets, see Get started with the Microsoft Graph PowerShell SDK.

Azure AD PowerShell to Microsoft Graph PowerShell by category

The following is the categorization of the Microsoft Entra cmdlets. Select a category to use the cmdlets

Administrative units

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Add-AzureADMSAdministrativeUnitMember New-MgDirectoryAdministrativeUnitMemberByRef
Add-AzureADMSScopedRoleMembership New-MgDirectoryRoleScopedMember
Get-AzureADMSAdministrativeUnit Get-MgDirectoryAdministrativeUnit
Get-AzureADMSAdministrativeUnitMember Get-MgDirectoryAdministrativeUnitMember
Get-AzureADMSScopedRoleMembership Get-MgUserScopedRoleMemberOf
New-AzureADMSAdministrativeUnit New-MgDirectoryAdministrativeUnit
Remove-AzureADMSAdministrativeUnit Remove-MgDirectoryAdministrativeUnit
Remove-AzureADMSAdministrativeUnitMember Remove-MgDirectoryAdministrativeUnitMemberByRef
Remove-AzureADMSScopedRoleMembership Remove-MgUserScopedRoleMemberOf

Application proxy application management

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Get-AzureADApplicationProxyApplication Get-MgBetaApplication
Get-AzureADApplicationProxyApplicationConnectorGroup
New-AzureADApplicationProxyApplication
Remove-AzureADApplicationProxyApplication
Remove-AzureADApplicationProxyApplicationConnectorGroup
Set-AzureADApplicationProxyApplication
Set-AzureADApplicationProxyApplicationCustomDomainCertificate
Set-AzureADApplicationProxyApplicationSingleSignOn

Application proxy connector management

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Get-AzureADApplicationProxyConnector Get-MgBetaOnPremisePublishingProfileConnector
Get-AzureADApplicationProxyConnectorGroup Get-MgBetaOnPremisePublishingProfileConnectorGroup
Get-AzureADApplicationProxyConnectorGroupMembers Get-MgBetaOnPremisePublishingProfileConnectorGroupMember
Get-AzureADApplicationProxyConnectorMemberOf Get-MgBetaOnPremisePublishingProfileConnectorMemberOf
New-AzureADApplicationProxyConnectorGroup New-MgBetaOnPremisePublishingProfileConnectorGroup
Remove-AzureADApplicationProxyConnectorGroup Remove-MgBetaOnPremisePublishingProfileConnectorGroup
Set-AzureADApplicationProxyApplicationConnectorGroup Set-MgBetaApplicationConnectorGroupByRef
Set-AzureADApplicationProxyConnector Update-MgBetaOnPremisePublishingProfileConnector
Set-AzureADApplicationProxyConnectorGroup Update-MgBetaOnPremisePublishingProfileConnectorGroup

Applications

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Add-AzureADApplicationOwner New-MgApplicationOwnerByRef
Get-AzureADApplication Get-MgApplication
Get-AzureADApplicationExtensionProperty Get-MgApplicationExtensionProperty
Get-AzureADApplicationKeyCredential Get-MgApplication
Get-AzureADApplicationLogo Get-MgApplicationLogo
Get-AzureADApplicationOwner Get-MgApplicationOwner
Get-AzureADApplicationPasswordCredential Get-MgApplication
Get-AzureADApplicationServiceEndpoint Get-MgServicePrincipalEndpoint
Get-AzureADDeletedApplication Get-MgDirectoryDeletedItem
New-AzureADApplication New-MgApplication
New-AzureADApplicationExtensionProperty New-MgApplicationExtensionProperty
New-AzureADApplicationKeyCredential Add-MgApplicationKey
New-AzureADApplicationPasswordCredential Add-MgApplicationPassword
Remove-AzureADApplication Remove-MgApplication
Remove-AzureADApplicationExtensionProperty Remove-MgApplicationExtensionProperty
Remove-AzureADApplicationKeyCredential Remove-MgApplicationKey
Remove-AzureADApplicationOwner Remove-MgApplicationOwnerByRef
Remove-AzureADApplicationPasswordCredential Remove-MgApplicationPassword
Set-AzureADApplication Update-MgApplication
Set-AzureADApplicationLogo Set-MgApplicationLogo

Azure AD

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Add-AzureADMSApplicationOwner New-MgApplicationOwnerByRef
Add-AzureADMSServicePrincipalDelegatedPermissionClassification New-MgServicePrincipalDelegatedPermissionClassification
Get-AzureADApplicationProxyConnectorGroupMember
Get-AzureADCurrentSessionInfo Get-MgContext
Get-AzureADMSApplication Get-MgApplication
Get-AzureADMSApplicationExtensionProperty Get-MgApplicationExtensionProperty
Get-AzureADMSApplicationOwner Get-MgApplicationOwner
Get-AzureADMSConditionalAccessPolicy Get-MgIdentityConditionalAccessPolicy
Get-AzureADMSDeletedDirectoryObject Get-MgDirectoryDeletedItem
Get-AzureADMSDeletedGroup Get-MgDirectoryDeletedItem
Get-AzureADMSIdentityProvider Get-MgIdentityProvider
Get-AzureADMSNamedLocationPolicy Get-MgIdentityConditionalAccessNamedLocation
Get-AzureADMSPermissionGrantConditionSet 1 Get-MgPolicyPermissionGrantPolicyInclude
Get-AzureADMSPermissionGrantConditionSet 1 Get-MgPolicyPermissionGrantPolicyExclude
Get-AzureADMSPermissionGrantPolicy Get-MgPolicyPermissionGrantPolicy
Get-AzureADMSServicePrincipalDelegatedPermissionClassification Get-MgServicePrincipalDelegatedPermissionClassification
Get-CrossCloudVerificationCode Confirm-MgDomain
New-AzureADMSApplication New-MgApplication
New-AzureADMSApplicationExtensionProperty New-MgApplicationExtensionProperty
New-AzureADMSApplicationKey Add-MgApplicationKey
New-AzureADMSApplicationPassword Add-MgApplicationPassword
New-AzureADMSConditionalAccessPolicy New-MgIdentityConditionalAccessPolicy
New-AzureADMSIdentityProvider New-MgIdentityProvider
New-AzureADMSNamedLocationPolicy New-MgIdentityConditionalAccessNamedLocation
New-AzureADMSPermissionGrantConditionSet1 New-MgPolicyPermissionGrantPolicyInclude
New-AzureADMSPermissionGrantConditionSet1 New-MgPolicyPermissionGrantPolicyExclude
New-AzureADMSPermissionGrantPolicy New-MgPolicyPermissionGrantPolicy
Remove-AzureADDeletedApplication Remove-MgDirectoryDeletedItem
Remove-AzureADMSApplication Remove-MgApplication
Remove-AzureADMSApplicationExtensionProperty Remove-MgApplicationExtensionProperty
Remove-AzureADMSApplicationKey Remove-MgApplicationKey
Remove-AzureADMSApplicationOwner Remove-MgApplicationOwnerByRef
Remove-AzureADMSApplicationPassword Remove-MgApplicationPassword
Remove-AzureADMSApplicationVerifiedPublisher Clear-MgApplicationVerifiedPublisher
Remove-AzureADMSConditionalAccessPolicy Remove-MgIdentityConditionalAccessPolicy
Remove-AzureADMSDeletedDirectoryObject Remove-MgDirectoryObject
Remove-AzureADMSIdentityProvider Remove-MgIdentityProvider
Remove-AzureADMSNamedLocationPolicy Remove-MgIdentityConditionalAccessNamedLocation
Remove-AzureADMSPermissionGrantConditionSet1 Remove-MgPolicyPermissionGrantPolicyInclude
Remove-AzureADMSPermissionGrantConditionSet1 Remove-MgPolicyPermissionGrantPolicyExclude
Remove-AzureADMSPermissionGrantPolicy Remove-MgPolicyPermissionGrantPolicy
Remove-AzureADMSServicePrincipalDelegatedPermissionClassification Remove-MgServicePrincipalDelegatedPermissionClassification
Restore-AzureADMSDeletedDirectoryObject Restore-MgDirectoryDeletedItem
Set-AzureADMSAdministrativeUnit Update-MgDirectoryAdministrativeUnit
Set-AzureADMSApplication Update-MgApplication
Set-AzureADMSApplicationLogo Set-MgApplicationLogo
Set-AzureADMSApplicationVerifiedPublisher Set-MgApplicationVerifiedPublisher
Set-AzureADMSConditionalAccessPolicy Update-MgIdentityConditionalAccessPolicy
Set-AzureADMSIdentityProvider Update-MgIdentityProvider
Set-AzureADMSNamedLocationPolicy Update-MgIdentityConditionalAccessNamedLocation
Set-AzureADMSPermissionGrantConditionSet1 Update-MgPolicyPermissionGrantPolicyInclude
Set-AzureADMSPermissionGrantConditionSet1 Update-MgPolicyPermissionGrantPolicyExclude
Set-AzureADMSPermissionGrantPolicy Update-MgPolicyPermissionGrantPolicy

Certificate Authorities

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Get-AzureADTrustedCertificateAuthority Get-MgOrganizationCertificateBasedAuthConfiguration
New-AzureADTrustedCertificateAuthority New-MgOrganizationCertificateBasedAuthConfiguration
Remove-AzureADTrustedCertificateAuthority Remove-MgOrganizationCertificateBasedAuthConfiguration
Set-AzureADTrustedCertificateAuthority

Connect to your directory

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Connect-AzureAD Connect-MgGraph
Disconnect-AzureAD Disconnect-MgGraph

Contacts

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Get-AzureADContact Get-MgContact
Get-AzureADContactDirectReport Get-MgContactDirectReport
Get-AzureADContactManager Get-MgContactManager
Get-AzureADContactMembership Get-MgContactMemberOf
Remove-AzureADContact Remove-MgContact
Remove-AzureADContactManager
Select-AzureADGroupIdsContactIsMemberOf Get-MgContactMemberOf

Contracts

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Get-AzureADContract Get-MgContract

Deleted objects

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Restore-AzureADDeletedApplication Restore-MgDirectoryDeletedItem

Devices

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Add-AzureADDeviceRegisteredOwner New-MgDeviceRegisteredOwnerByRef
Add-AzureADDeviceRegisteredUser New-MgDeviceRegisteredUserByRef
Get-AzureADDevice Get-MgDevice
Get-AzureADDeviceConfiguration Get-MgDeviceManagementDeviceConfiguration
Get-AzureADDeviceRegisteredOwner Get-MgDeviceRegisteredOwner
Get-AzureADDeviceRegisteredUser Get-MgDeviceRegisteredUser
New-AzureADDevice New-MgDevice
Remove-AzureADDevice Remove-MgDevice
Remove-AzureADDeviceRegisteredOwner Remove-MgDeviceRegisteredOwnerByRef
Remove-AzureADDeviceRegisteredUser Remove-MgDeviceRegisteredUserByRef
Set-AzureADDevice Update-MgDevice

Directory

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Get-AzureADSubscribedSku Get-MgSubscribedSku
Get-AzureADTenantDetail Get-MgOrganization
Set-AzureADTenantDetail Update-MgOrganization

Directory Objects

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Get-AzureADObjectByObjectId Get-MgDirectoryObjectById

Directory roles

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Add-AzureADDirectoryRoleMember New-MgDirectoryRoleMemberByRef
Enable-AzureADDirectoryRole New-MgDirectoryRole
Get-AzureADDirectoryRole Get-MgDirectoryRole
Get-AzureADDirectoryRoleMember Get-MgDirectoryRoleMember
Get-AzureADDirectoryRoleTemplate Get-MgDirectoryRoleTemplate
Get-AzureADMSRoleAssignment Get-MgRoleManagementDirectoryRoleAssignment
Get-AzureADMSRoleDefinition Get-MgRoleManagementDirectoryRoleDefinition
New-AzureADMSRoleAssignment New-MgRoleManagementDirectoryRoleAssignment
New-AzureADMSRoleDefinition New-MgRoleManagementDirectoryRoleDefinition
Remove-AzureADDirectoryRoleMember Remove-MgDirectoryRoleMemberByRef
Remove-AzureADMSRoleAssignment Remove-MgRoleManagementDirectoryRoleAssignment
Remove-AzureADMSRoleDefinition Remove-MgRoleManagementDirectoryRoleDefinition
Set-AzureADMSRoleDefinition Update-MgRoleManagementDirectoryRoleDefinition

Domains

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Confirm-AzureADDomain Confirm-MgDomain
Get-AzureADDomain Get-MgDomain
Get-AzureADDomainNameReference Get-MgDomainNameReference
Get-AzureADDomainServiceConfigurationRecord Get-MgDomainServiceConfigurationRecord
Get-AzureADDomainVerificationDnsRecord Get-MgDomainVerificationDnsRecord
New-AzureADDomain New-MgDomain
Remove-AzureADDomain Remove-MgDomain
Set-AzureADDomain Update-MgDomain

Extension properties

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Get-AzureADExtensionProperty Get-MgDirectoryObjectAvailableExtensionProperty

Groups

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Add-AzureADGroupMember New-MgGroupMemberByRef
Add-AzureADGroupOwner New-MgGroupOwnerByRef
Add-AzureADMSLifecyclePolicyGroup Add-MgGroupToLifecyclePolicy
Get-AzureADGroup Get-MgGroup
Get-AzureADGroupAppRoleAssignment Get-MgGroupAppRoleAssignment
Get-AzureADGroupMember Get-MgGroupMember
Get-AzureADGroupOwner Get-MgGroupOwner
Get-AzureADMSGroup Get-MgGroup
Get-AzureADMSGroupLifecyclePolicy Get-MgGroupLifecyclePolicy
Get-AzureADMSLifecyclePolicyGroup Get-MgGroupLifecyclePolicy
New-AzureADGroup New-MgGroup
New-AzureADGroupAppRoleAssignment New-MgGroupAppRoleAssignment
New-AzureADMSGroup New-MgGroup
New-AzureADMSGroupLifecyclePolicy New-MgGroupLifecyclePolicy
Remove-AzureADGroup Remove-MgGroup
Remove-AzureADGroupAppRoleAssignment Remove-MgGroupAppRoleAssignment
Remove-AzureADGroupMember Remove-MgGroupMemberByRef
Remove-AzureADGroupOwner Remove-MgGroupOwnerByRef
Remove-AzureADMSGroup Remove-MgGroup
Remove-AzureADMSGroupLifecyclePolicy Remove-MgGroupLifecyclePolicy
Remove-AzureADMSLifecyclePolicyGroup Remove-MgGroupFromLifecyclePolicy
Reset-AzureADMSLifeCycleGroup Invoke-MgRenewGroup
Select-AzureADGroupIdsGroupIsMemberOf Get-MgGroupMemberOf
Set-AzureADGroup Update-MgGroup
Set-AzureADMSGroup Update-MgGroup
Set-AzureADMSGroupLifecyclePolicy Update-MgGroupLifecyclePolicy

Oauth2

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Get-AzureADOAuth2PermissionGrant Get-MgOauth2PermissionGrant
Remove-AzureADOAuth2PermissionGrant Remove-MgOauth2PermissionGrant

Policies

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Get-AzureADMSAuthorizationPolicy Get-MgPolicyAuthorizationPolicy
Set-AzureADMSAuthorizationPolicy Update-MgPolicyAuthorizationPolicy

Service principals

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Add-AzureADServicePrincipalOwner New-MgServicePrincipalOwnerByRef
Get-AzureADServiceAppRoleAssignedTo Get-MgServicePrincipalAppRoleAssignedTo
Get-AzureADServiceAppRoleAssignment Get-MgServicePrincipalAppRoleAssignment
Get-AzureADServicePrincipal Get-MgServicePrincipal
Get-AzureADServicePrincipalCreatedObject Get-MgServicePrincipalCreatedObject
Get-AzureADServicePrincipalKeyCredential Get-MgServicePrincipal
Get-AzureADServicePrincipalMembership Get-MgServicePrincipalTransitiveMemberOf
Get-AzureADServicePrincipalOAuth2PermissionGrant Get-MgServicePrincipalOauth2PermissionGrant
Get-AzureADServicePrincipalOwnedObject Get-MgServicePrincipalOwnedObject
Get-AzureADServicePrincipalOwner Get-MgServicePrincipalOwner
Get-AzureADServicePrincipalPasswordCredential Get-MgServicePrincipal
New-AzureADServiceAppRoleAssignment New-MgServicePrincipalAppRoleAssignment
New-AzureADServicePrincipal New-MgServicePrincipal
New-AzureADServicePrincipalKeyCredential1 Add-MgServicePrincipalKey
New-AzureADServicePrincipalKeyCredential1 Update-MgServicePrincipal
New-AzureADServicePrincipalPasswordCredential Add-MgServicePrincipalPassword
Remove-AzureADServiceAppRoleAssignment Remove-MgServicePrincipalAppRoleAssignment
Remove-AzureADServicePrincipal Remove-MgServicePrincipal
Remove-AzureADServicePrincipalKeyCredential Remove-MgServicePrincipalKey
Remove-AzureADServicePrincipalOwner Remove-MgServicePrincipalOwnerByRef
Remove-AzureADServicePrincipalPasswordCredential Remove-MgServicePrincipalPassword
Select-AzureADGroupIdsServicePrincipalIsMemberOf Get-MgServicePrincipalMemberOf
Set-AzureADServicePrincipal Update-MgServicePrincipal

Users

Azure AD cmdlet Microsoft Graph PowerShell cmdlet
Get-AzureADUser Get-MgUser
Get-AzureADUserAppRoleAssignment Get-MgUserAppRoleAssignment
Get-AzureADUserCreatedObject Get-MgUserCreatedObject
Get-AzureADUserDirectReport Get-MgUserDirectReport
Get-AzureADUserExtension Get-MgUser
Get-AzureADUserLicenseDetail Get-MgUserLicenseDetail
Get-AzureADUserManager Get-MgUserManager
Get-AzureADUserMembership Get-MgUserMemberOf
Get-AzureADUserOAuth2PermissionGrant Get-MgUserOauth2PermissionGrant
Get-AzureADUserOwnedDevice Get-MgUserOwnedDevice
Get-AzureADUserOwnedObject Get-MgUserOwnedObject
Get-AzureADUserRegisteredDevice Get-MgUserRegisteredDevice
Get-AzureADUserThumbnailPhoto Get-MgUserPhoto
New-AzureADMSInvitation New-MgInvitation
New-AzureADUser New-MgUser
New-AzureADUserAppRoleAssignment New-MgUserAppRoleAssignment
Remove-AzureADUser Remove-MgUser
Remove-AzureADUserAppRoleAssignment Remove-MgUserAppRoleAssignment
Remove-AzureADUserExtension Remove-MgUserExtension
Remove-AzureADUserManager Remove-MgUserManagerByRef
Revoke-AzureADSignedInUserAllRefreshToken Revoke-MgUserSignInSession
Revoke-AzureADUserAllRefreshToken Revoke-MgUserSignInSession
Select-AzureADGroupIdsUserIsMemberOf Get-MgUserMemberOf
Set-AzureADUser Update-MgUser
Set-AzureADUserExtension Update-MgUser
Set-AzureADUserLicense Set-MgUserLicense
Set-AzureADUserManager Set-MgUserManagerByRef
Set-AzureADUserPassword Update-MgUser
Set-AzureADUserThumbnailPhoto Set-MgUserPhotoContent
Update-AzureADSignedInUserPassword Update-MgUserPassword

1 This cmdlet has more than one cmdlet mapping in Microsoft Graph PowerShell.

Azure AD Preview to Microsoft Graph PowerShell

Azure AD Preview cmdlet Microsoft Graph PowerShell cmdlet
Add-AzureADAdministrativeUnitMember New-MgDirectoryAdministrativeUnitMember
Add-AzureADApplicationPolicy New-MgApplicationAppManagementPolicyByRef
Add-AzureADMSCustomSecurityAttributeDefinitionAllowedValues New-MgDirectoryCustomSecurityAttributeDefinitionAllowedValue
Add-AzureADMSFeatureRolloutPolicyDirectoryObject New-MgBetaDirectoryFeatureRolloutPolicyApplyToByRef
Add-AzureADMSPrivilegedResource 2 Deprecated
Add-AzureADScopedRoleMembership New-MgDirectoryAdministrativeUnitScopedRoleMember
Add-AzureADServicePrincipalPolicy New-MgServicePrincipalClaimMappingPolicyByRef
Close-AzureADMSPrivilegedRoleAssignmentRequest 2 Deprecated
Get-AzureADAdministrativeUnit Get-MgDirectoryAdministrativeUnit
Get-AzureADAdministrativeUnitMember Get-MgDirectoryAdministrativeUnitMember
Get-AzureADApplicationPolicy Get-MgApplicationAppManagementPolicyByRef
Get-AzureADApplicationSignInDetailedSummary Get-MgBetaReportApplicationSignInDetailedSummary
Get-AzureADApplicationSignInSummary Get-MgBetaReportAzureAdApplicationSignInSummary
Get-AzureADAuditDirectoryLogs Get-MgAuditLogDirectoryAudit
Get-AzureADAuditSignInLogs Get-MgAuditLogSignIn
Get-AzureADDirectorySetting Get-MgBetaDirectorySetting
Get-AzureADDirectorySettingTemplate Get-MgBetaDirectorySettingTemplate
Get-AzureADExternalDomainFederation Get-MgDomainFederationConfiguration
Get-AzureADMSApplicationTemplate Get-MgApplicationTemplate
Get-AzureADMSAttributeSet Get-MgDirectoryAttributeSet
Get-AzureADMSCustomSecurityAttributeDefinition Get-MgDirectoryCustomSecurityAttributeDefinition
Get-AzureADMSCustomSecurityAttributeDefinitionAllowedValue Get-MgDirectoryCustomSecurityAttributeDefinitionAllowedValue
Get-AzureADMSFeatureRolloutPolicy Get-MgPolicyFeatureRolloutPolicy
Get-AzureADMSGroupPermissionGrant Get-MgGroupPermissionGrant
Get-AzureADMSPasswordSingleSignOnCredential Get-MgBetaServicePrincipalPasswordSingleSignOnCredential
Get-AzureADMSPrivilegedResource Get-MgBetaPrivilegedAccessResource
Get-AzureADMSPrivilegedRoleAssignment 2 Deprecated
Get-AzureADMSPrivilegedRoleAssignmentRequest 2 Deprecated
Get-AzureADMSPrivilegedRoleDefinition Get-MgBetaPrivilegedAccessResourceRoleDefinition
Get-AzureADMSPrivilegedRoleSetting Get-MgBetaPrivilegedAccessResourceRoleSetting
Get-AzureADMSServicePrincipal Get-MgServicePrincipal
Get-AzureADMSTrustFrameworkPolicy Get-MgBetaTrustFrameworkPolicy
Get-AzureADMSUser Get-MgUser
Get-AzureADObjectSetting Get-MgGroupSetting
Get-AzureADPolicy 1 Get-MgPolicyHomeRealmDiscoveryPolicy
Get-AzureADPolicy 1 Get-MgPolicyActivityBasedTimeoutPolicy
Get-AzureADPolicy 1 Get-MgPolicyTokenIssuancePolicy
Get-AzureADPolicy 1 Get-MgPolicyTokenLifetimePolicy
Get-AzureADPolicy 1 Get-MgPolicyClaimMappingPolicy
Get-AzureADPolicyAppliedObject Get-MgPolicyHomeRealmDiscoveryPolicyApplyTo
Get-AzureADPrivilegedRole 2 Deprecated
Get-AzureADPrivilegedRoleAssignment Get-MgBetaPrivilegedRoleRoleAssignment
Get-AzureADScopedRoleMembership Get-MgDirectoryAdministrativeUnitScopedRoleMember
Get-AzureADServicePrincipalPolicy 1 Get-MgServicePrincipalClaimMappingPolicy
Get-AzureADServicePrincipalPolicy 1 Get-MgServicePrincipalHomeRealmDiscoveryPolicy
Get-AzureADServicePrincipalPolicy 1 Get-MgServicePrincipalTokenIssuancePolicy
Get-AzureADServicePrincipalPolicy 1 Get-MgServicePrincipalTokenLifetimePolicy
New-AzureADAdministrativeUnit New-MgDirectoryAdministrativeUnit
New-AzureADDirectorySetting New-MgBetaDirectorySetting
New-AzureADExternalDomainFederation New-MgDomainFederationConfiguration
New-AzureADMSAdministrativeUnitMember New-MgDirectoryAdministrativeUnitMember
New-AzureADMSApplicationFromApplicationTemplate Invoke-MgInstantiateApplicationTemplate
New-AzureADMSAttributeSet New-MgDirectoryAttributeSet
New-AzureADMSCustomSecurityAttributeDefinition New-MgDirectoryCustomSecurityAttributeDefinition
New-AzureADMSFeatureRolloutPolicy New-MgPolicyFeatureRolloutPolicy
New-AzureADMSPasswordSingleSignOnCredential New-MgBetaServicePrincipalPasswordSingleSignOnCredential
New-AzureADMSServicePrincipal New-MgServicePrincipal
New-AzureADMSTrustFrameworkPolicy New-MgBetaTrustFrameworkPolicy
New-AzureADMSUser New-MgUser
New-AzureADObjectSetting New-MgGroupSetting
New-AzureADPolicy New-MgPolicyActivityBasedTimeoutPolicy
New-AzureADPrivilegedRoleAssignment 2 Deprecated
Open-AzureADMSPrivilegedRoleAssignmentRequest 2 Deprecated
Remove-AzureADAdministrativeUnit Remove-MgDirectoryAdministrativeUnit
Remove-AzureADAdministrativeUnitMember Remove-MgDirectoryAdministrativeUnitMemberByRef
Remove-AzureADApplicationPolicy 1 Remove-MgApplicationAppManagementPolicyByRef
Remove-AzureADApplicationPolicy 1 Remove-MgApplicationTokenIssuancePolicyByRef
Remove-AzureADApplicationPolicy 1 Remove-MgApplicationTokenLifetimePolicyByRef
Remove-AzureADDirectorySetting Remove-MgBetaDirectorySetting
Remove-AzureADExternalDomainFederation Remove-MgDirectoryFederationConfiguration
Remove-AzureADMSFeatureRolloutPolicy Remove-MgPolicyFeatureRolloutPolicy
Remove-AzureADMSFeatureRolloutPolicyDirectoryObject Remove-MgPolicyFeatureRolloutPolicyApplyToDirectoryObjectByRef
Remove-AzureADMSPasswordSingleSignOnCredential Remove-MgBetaServicePrincipalPasswordSingleSignOnCredential
Remove-AzureADMSTrustFrameworkPolicy Remove-MgBetaTrustFrameworkPolicy
Remove-AzureADObjectSetting Remove-MgGroupSetting
Remove-AzureADPolicy 1 Remove-MgPolicyActivityBasedTimeoutPolicy
Remove-AzureADPolicy 1 Remove-MgPolicyDefaultAppManagementPolicy
Remove-AzureADPolicy 1 Remove-MgPolicyAppManagementPolicy
Remove-AzureADPolicy 1 Remove-MgPolicyAuthenticationFlowPolicy
Remove-AzureADPolicy 1 Remove-MgPolicyAuthenticationMethodPolicy
Remove-AzureADPolicy 1 Remove-MgPolicyClaimMappingPolicy
Remove-AzureADPolicy 1 Remove-MgPolicyFeatureRolloutPolicyApplyToDirectoryObjectByRef
Remove-AzureADPolicy 1 Remove-MgPolicyHomeRealmDiscoveryPolicy
Remove-AzureADPolicy 1 Remove-MgPolicyPermissionGrantPolicy
Remove-AzureADPolicy 1 Remove-MgPolicyTokenIssuancePolicy
Remove-AzureADPolicy 1 Remove-MgPolicyTokenLifetimePolicy
Remove-AzureADScopedRoleMembership Remove-MgDirectoryAdministrativeUnitScopedRoleMember
Remove-AzureADServicePrincipalPolicy 1 Remove-MgServicePrincipalClaimMappingPolicyByRef
Remove-AzureADServicePrincipalPolicy 1 Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef
Set-AzureADAdministrativeUnit Update-MgDirectoryAdministrativeUnit
Set-AzureADDirectorySetting Update-MgBetaDirectorySetting
Set-AzureADMSAttributeSet Update-MgDirectoryAttributeSet
Set-AzureADMSCustomSecurityAttributeDefinition Update-MgDirectoryCustomSecurityAttributeDefinition
Set-AzureADMSCustomSecurityAttributeDefinitionAllowedValue Update-MgDirectoryCustomSecurityAttributeDefinitionAllowedValue
Set-AzureADMSFeatureRolloutPolicy Update-MgPolicyFeatureRolloutPolicy
Set-AzureADMSPasswordSingleSignOnCredential Update-MgBetaServicePrincipalPasswordSingleSignOnCredential
Set-AzureADMSPrivilegedRoleAssignmentRequest 2 Deprecated
Set-AzureADMSPrivilegedRoleSetting Update-MgBetaPrivilegedAccessRoleSetting
Set-AzureADMSServicePrincipal Update-MgServicePrincipal
Set-AzureADMSTrustFrameworkPolicy Update-MgBetaTrustFrameworkPolicy
Set-AzureADMSUser Update-MgUser
Set-AzureADObjectSetting Update-MgGroupSetting
Set-AzureADPolicy 1 Update-MgPolicyActivityBasedTimeoutPolicy
Set-AzureADPolicy 1 Update-MgPolicyDefaultAppManagementPolicy
Set-AzureADPolicy 1 Update-MgPolicyAppManagementPolicy
Set-AzureADPolicy 1 Update-MgPolicyAuthenticationFlowPolicy
Set-AzureADPolicy 1 Update-MgPolicyAuthenticationMethodPolicy
Set-AzureADPolicy 1 Update-MgPolicyClaimMappingPolicy
Set-AzureADPolicy 1 Update-MgPolicyFeatureRolloutPolicy
Set-AzureADPolicy 1 Update-MgPolicyHomeRealmDiscoveryPolicy
Set-AzureADPolicy 1 Update-MgPolicyPermissionGrantPolicy
Set-AzureADPolicy 1 Update-MgPolicyTokenIssuancePolicy
Set-AzureADPolicy 1 Update-MgPolicyTokenLifetimePolicy

1 This cmdlet has more than one cmdlet mapping in Microsoft Graph PowerShell.

2 Privileged Identity Management (PIM) iteration 3 APIs should be used. Check this guidance for more details.

MSOnline to Microsoft Graph PowerShell

MSOnline cmdlet Microsoft Graph PowerShell cmdlet
Add-MsolAdministrativeUnitMember New-MgDirectoryAdministrativeUnitMemberByRef
Add-MsolForeignGroupToRole
Add-MsolGroupMember New-MgGroupMemberByRef
Add-MsolRoleMember New-MgDirectoryRoleMemberByRef
Add-MsolScopedRoleMember New-MgDirectoryRoleScopedMember
Confirm-MsolDomain Confirm-MgDomain
Confirm-MsolEmailVerifiedDomain
Connect-MsolService Connect-MgGraph
Convert-MsolDomainToFederated New-MgDomainFederationConfiguration
Convert-MsolDomainToStandard Remove-MgDomainFederationConfiguration
Convert-MsolFederatedUser Reset-MgUserAuthenticationMethodPassword
Disable-MsolDevice Update-MgDevice
Enable-MsolDevice Update-MgDevice
Get-MsolAccountSku Get-MgSubscribedSku
Get-MsolAdministrativeUnit Get-MgDirectoryAdministrativeUnit
Get-MsolAdministrativeUnitMember Get-MgDirectoryAdministrativeUnitMember
Get-MsolCompanyAllowedDataLocation
Get-MsolCompanyInformation Get-MgOrganization
Get-MsolContact Get-MgContact
Get-MsolDevice Get-MgDevice
Get-MsolDeviceRegistrationServicePolicy Get-MgPolicyDeviceRegistrationPolicy
Get-MsolDirSyncConfiguration Get-MgDirectoryOnPremiseSynchronization
Get-MsolDirSyncFeatures Get-MgDirectoryOnPremiseSynchronization
Get-MsolDirSyncProvisioningError Get-MgGroup, Get-MgContact, Get-MgUser
Get-MsolDomain Get-MgDomain
Get-MsolDomainFederationSettings Get-MgDomainFederationConfiguration
Get-MsolDomainVerificationDns Get-MgDomainVerificationDnsRecord
Get-MsolFederationProperty Get-MgDomainFederationConfiguration
Get-MsolGroup Get-MgGroup
Get-MsolGroupMember Get-MgGroupMember
Get-MsolHasObjectsWithDirSyncProvisioningErrors 1 Get-MgUser, Get-MgGroup, Get-MgContact on property onPremisesProvisioningErrors
Get-MsolPartnerContract Get-MgContract
Get-MsolPartnerInformation
Get-MsolPasswordPolicy Get-MgDomain
Get-MsolRole Get-MgDirectoryRole
Get-MsolRoleMember Get-MgDirectoryRoleMember
Get-MsolScopedRoleMember Get-MgDirectoryRoleScopedMember
Get-MsolServicePrincipal Get-MgServicePrincipal
Get-MsolServicePrincipalCredential Get-MgServicePrincipal
Get-MsolSubscription Get-MgSubscribedSKU
Get-MsolUser Get-MgUser
Get-MsolUserByStrongAuthentication
Get-MsolUserRole Get-MgUserMemberOf
New-MsolAdministrativeUnit New-MgDirectoryAdministrativeUnit
New-MsolDomain New-MgDomain
New-MsolFederatedDomain New-MgDomainFederationConfiguration
New-MsolGroup New-MgGroup
New-MsolLicenseOptions Set-MgUserLicense
New-MsolServicePrincipal New-MgServicePrincipal
New-MsolServicePrincipalAddresses New-MgServicePrincipal
New-MsolServicePrincipalCredential Add-MgServicePrincipalKey
New-MsolUser New-MgUser
New-MsolWellKnownGroup
Redo-MsolProvisionContact Invoke-MgRetryContactServiceProvisioning
Redo-MsolProvisionGroup Invoke-MgRetryGroupServiceProvisioning
Redo-MsolProvisionUser Invoke-MgRetryUserServiceProvisioning
Remove-MsolAdministrativeUnit Remove-MgDirectoryAdministrativeUnit
Remove-MsolAdministrativeUnitMember Remove-MgDirectoryAdministrativeUnitScopedRoleMember
Remove-MsolApplicationPassword Remove-MgApplicationPassword
Remove-MsolContact Remove-MgContact
Remove-MsolDevice Remove-MgDevice
Remove-MsolDomain Remove-MgDomain
Remove-MsolFederatedDomain Remove-MgDomainFederationConfiguration
Remove-MsolForeignGroupFromRole
Remove-MsolGroup Remove-MgGroup
Remove-MsolGroupMember Remove-MgGroupMemberByRef
Remove-MsolRoleMember Remove-MgDirectoryRoleMemberByRef
Remove-MsolScopedRoleMember Remove-MgDirectoryRoleScopedMember
Remove-MsolServicePrincipal Remove-MgServicePrincipal
Remove-MsolServicePrincipalCredential Remove-MgServicePrincipalKey
Remove-MsolUser Remove-MgUser
Reset-MsolStrongAuthenticationMethodByUpn
Restore-MsolUser Restore-MgDirectoryDeletedItem
Set-MsolADFSContext
Set-MsolAdministrativeUnit Update-MgDirectoryAdministrativeUnit
Set-MsolCompanyAllowedDataLocation
Set-MsolCompanyContactInformation Update-MgOrganization
Set-MsolCompanyMultiNationalEnabled
Set-MsolCompanySecurityComplianceContactInformation Update-MgOrganization
Set-MsolCompanySettings 1 Update-MgOrganization
Set-MsolCompanySettings 1 Update-MgPolicyAuthorizationPolicy
Set-MsolDeviceRegistrationServicePolicy
Set-MsolDirSyncConfiguration Update-MgDirectoryOnPremiseSynchronization
Set-MsolDirSyncEnabled Update-MgOrganization
Set-MsolDirSyncFeature Update-MgDirectoryOnPremiseSynchronization
Set-MsolDomain Update-MgDomain
Set-MsolDomainAuthentication New-MgDomainFederationConfiguration
Set-MsolDomainFederationSettings New-MgDomainFederationConfiguration
Set-MsolGroup Update-MgGroup
Set-MsolPartnerInformation
Set-MsolPasswordPolicy Update-MgDomain
Set-MsolServicePrincipal Update-MgServicePrincipal
Set-MsolUser Update-MgUser
Set-MsolUserLicense Set-MgUserLicense
Set-MsolUserPassword Reset-MgUserAuthenticationMethodPassword
Set-MsolUserPrincipalName Update-MgUser
Update-MsolFederatedDomain Update-MgDomainFederationConfiguration

1 This cmdlet has more than one cmdlet mapping in Microsoft Graph PowerShell.