2
2
title : " Find Azure AD and MSOnline cmdlets in Microsoft Graph PowerShell"
3
3
description : " Use this map of the Azure AD PowerShell and MSOnline cmdlets to find their Microsoft Graph PowerShell equivalents."
4
4
5
- ms.topic : conceptual
6
- ms.date : 05/30 /2022
5
+ ms.topic : reference
6
+ ms.date : 10/03 /2022
7
7
author : msewaweru
8
8
manager : CelesteDG
9
9
ms.author : eunicewaweru
@@ -28,7 +28,8 @@ The following is the categorization of the Azure AD cmdlets. Select a category t
28
28
- [ Connect to your directory] ( #connect-to-your-directory )
29
29
- [ Contacts] ( #contacts )
30
30
- [ Contracts] ( #contracts )
31
- - [ Deleted objects] ( #deleted-objects ) - [ Devices] ( #devices )
31
+ - [ Deleted objects] ( #deleted-objects )
32
+ - [ Devices] ( #devices )
32
33
:::column-end:::
33
34
:::column:::
34
35
- [ Directory] ( #directory )
@@ -37,7 +38,8 @@ The following is the categorization of the Azure AD cmdlets. Select a category t
37
38
- [ Domains] ( #domains )
38
39
- [ Extension properties] ( #extension-properties )
39
40
- [ Groups] ( #groups )
40
- - [ Oauth2] ( #oauth2 ) - [ Policies] ( (#policies) )
41
+ - [ Oauth2] ( #oauth2 )
42
+ - [ Policies] ( (#policies) )
41
43
- [ Service principals] ( #service-principals )
42
44
- [ Users] ( #users )
43
45
:::column-end:::
@@ -95,7 +97,7 @@ The following is the categorization of the Azure AD cmdlets. Select a category t
95
97
| Get-AzureADApplicationKeyCredential| [ Get-MgApplication] ( /powershell/module/microsoft.graph.applications/get-mgapplication?view=graph-powershell-1.0&preserve-view=true ) |
96
98
| Get-AzureADApplicationLogo| [ Get-MgApplicationLogo] ( /powershell/module/microsoft.graph.applications/get-mgapplicationlogo?view=graph-powershell-1.0&preserve-view=true ) |
97
99
| Get-AzureADApplicationOwner| [ Get-MgApplicationOwner] ( /powershell/module/microsoft.graph.applications/get-mgapplicationowner?view=graph-powershell-1.0&preserve-view=true ) |
98
- | Get-AzureADApplicationPasswordCredential||
100
+ | Get-AzureADApplicationPasswordCredential| [ Get-MgApplication ] ( /powershell/module/microsoft.graph.applications/get-mgapplication?view=graph-powershell-1.0&preserve-view=true ) |
99
101
| Get-AzureADApplicationServiceEndpoint| [ Get-MgServicePrincipalEndpoint] ( /powershell/module/microsoft.graph.applications/get-mgserviceprincipalendpoint?view=graph-powershell-1.0&preserve-view=true ) |
100
102
| Get-AzureADDeletedApplication| [ Get-MgDirectoryDeletedItem] ( /powershell/module/microsoft.graph.identity.directorymanagement/get-mgdirectorydeleteditem?view=graph-powershell-1.0&preserve-view=true ) |
101
103
| New-AzureADApplication| [ New-MgApplication] ( /powershell/module/microsoft.graph.applications/new-mgapplication?view=graph-powershell-1.0&preserve-view=true ) |
@@ -181,8 +183,8 @@ The following is the categorization of the Azure AD cmdlets. Select a category t
181
183
182
184
| Azure AD cmdlets | Microsoft Graph PowerShell cmdlets|
183
185
| ------------| --------------|
184
- | Connect-AzureAD| Connect-MgGraph|
185
- | Disconnect-AzureAD| Disconnect-MgGraph|
186
+ | Connect-AzureAD| [ Connect-MgGraph] ( authentication-commands.md#using-connect-mggraph ) |
187
+ | Disconnect-AzureAD| [ Disconnect-MgGraph] ( authentication-commands.md#using-disconnect-mggraph ) |
186
188
187
189
### Contacts
188
190
@@ -247,8 +249,15 @@ The following is the categorization of the Azure AD cmdlets. Select a category t
247
249
| Enable-AzureADDirectoryRole| [ New-MgDirectoryRoleTemplate] ( /powershell/module/microsoft.graph.identity.directorymanagement/new-mgdirectoryroletemplate?view=graph-powershell-1.0&preserve-view=true ) |
248
250
| Get-AzureADDirectoryRole| [ Get-MgDirectoryRole] ( /powershell/module/microsoft.graph.identity.directorymanagement/get-mgdirectoryrole?view=graph-powershell-1.0&preserve-view=true ) |
249
251
| Get-AzureADDirectoryRoleMember| [ Get-MgDirectoryRoleMember] ( /powershell/module/microsoft.graph.identity.directorymanagement/get-mgdirectoryrolemember?view=graph-powershell-1.0&preserve-view=true ) |
250
- |Get-AzureADDirectoryRoleTemplate|[ Get-MgDirectoryRoleTemplate] ( /powershell/module/microsoft.graph.identity.directorymanagement/get-mgdirectoryroletemplate?view=graph-powershell-1.0&preserve-view=true ) |Get-AzureADMSRoleAssignment
252
+ | Get-AzureADDirectoryRoleTemplate| [ Get-MgDirectoryRoleTemplate] ( /powershell/module/microsoft.graph.identity.directorymanagement/get-mgdirectoryroletemplate?view=graph-powershell-1.0&preserve-view=true ) |
253
+ | Get-AzureADMSRoleAssignment| [ Get-MgRoleManagementDirectoryRoleAssignment] ( /powershell/module/microsoft.graph.devicemanagement.enrolment/get-mgrolemanagementdirectoryroleassignment?view=graph-powershell-1.0&preserve-view=true ) |
254
+ | Get-AzureADMSRoleDefinition| [ Get-MgRoleManagementDirectoryRoleDefinition] ( /powershell/module/microsoft.graph.devicemanagement.enrolment/get-mgrolemanagementdirectoryroledefinition?view=graph-powershell-1.0&preserve-view=true ) |
255
+ | New-AzureADMSRoleAssignment| [ New-MgRoleManagementDirectoryRoleAssignment] ( /powershell/module/microsoft.graph.devicemanagement.enrolment/new-mgrolemanagementdirectoryroleassignment?view=graph-powershell-1.0&preserve-view=true ) |
256
+ | New-AzureADMSRoleDefinition| [ New-MgRoleManagementDirectoryRoleDefinition] ( /powershell/module/microsoft.graph.devicemanagement.enrolment/new-mgrolemanagementdirectoryroledefinition?view=graph-powershell-1.0&preserve-view=true ) |
251
257
| Remove-AzureADDirectoryRoleMember| [ Remove-MgDirectoryRoleScopedMember] ( /powershell/module/microsoft.graph.identity.directorymanagement/remove-mgdirectoryrolescopedmember?view=graph-powershell-1.0&preserve-view=true ) |
258
+ | Remove-AzureADMSRoleAssignment| [ Remove-MgRoleManagementDirectoryRoleAssignment] ( /powershell/module/microsoft.graph.devicemanagement.enrolment/remove-mgrolemanagementdirectoryroleassignment?view=graph-powershell-1.0&preserve-view=true ) |
259
+ | Remove-AzureADMSRoleDefinition| [ Remove-MgRoleManagementDirectoryRoleDefinition] ( /powershell/module/microsoft.graph.devicemanagement.enrolment/remove-mgrolemanagementdirectoryroledefinition?view=graph-powershell-1.0&preserve-view=true ) |
260
+ | Set-AzureADMSRoleDefinition| [ Update-MgRoleManagementDirectoryRoleDefinition] ( /powershell/module/microsoft.graph.devicemanagement.enrolment/update-mgrolemanagementdirectoryroledefinition?view=graph-powershell-1.0&preserve-view=true ) |
252
261
253
262
### Domains
254
263
@@ -307,6 +316,13 @@ The following is the categorization of the Azure AD cmdlets. Select a category t
307
316
| Get-AzureADOAuth2PermissionGrant| [ Get-MgOauth2PermissionGrant] ( /powershell/module/microsoft.graph.identity.signins/get-mgoauth2permissiongrant?view=graph-powershell-1.0&preserve-view=true ) |
308
317
| Remove-AzureADOAuth2PermissionGrant| [ Remove-MgOauth2PermissionGrant] ( /powershell/module/microsoft.graph.identity.signins/remove-mgoauth2permissiongrant?view=graph-powershell-1.0&preserve-view=true ) |
309
318
319
+ ### Policies
320
+
321
+ | Azure AD cmdlets | Microsoft Graph PowerShell cmdlets|
322
+ | ------------| --------------|
323
+ | Get-AzureADMSAuthorizationPolicy| [ Get-MgPolicyAuthorizationPolicy] ( /powershell/module/microsoft.graph.identity.signins/get-mgpolicyauthorizationpolicy?view=graph-powershell-1.0&preserve-view=true ) |
324
+ | Set-AzureADMSAuthorizationPolicy| [ Update-MgPolicyAuthorizationPolicy] ( /powershell/module/microsoft.graph.identity.signins/update-mgpolicyauthorizationpolicy?view=graph-powershell-1.0&preserve-view=true ) |
325
+
310
326
### Service principals
311
327
312
328
| Azure AD cmdlets | Microsoft Graph PowerShell cmdlets|
@@ -321,7 +337,7 @@ The following is the categorization of the Azure AD cmdlets. Select a category t
321
337
| Get-AzureADServicePrincipalOAuth2PermissionGrant| [ Get-MgServicePrincipalOauth2PermissionGrant] ( /powershell/module/microsoft.graph.applications/get-mgserviceprincipaloauth2permissiongrant?view=graph-powershell-1.0&preserve-view=true ) |
322
338
| Get-AzureADServicePrincipalOwnedObject| [ Get-MgServicePrincipalOwnedObject] ( /powershell/module/microsoft.graph.applications/get-mgserviceprincipalownedobject?view=graph-powershell-1.0&preserve-view=true ) |
323
339
| Get-AzureADServicePrincipalOwner| [ Get-MgServicePrincipalOwner] ( /powershell/module/microsoft.graph.applications/get-mgserviceprincipalowner?view=graph-powershell-1.0&preserve-view=true ) |
324
- | Get-AzureADServicePrincipalPasswordCredential||
340
+ | Get-AzureADServicePrincipalPasswordCredential| [ Get-MgServicePrincipal ] ( /powershell/module/microsoft.graph.applications/get-mgserviceprincipal?view=graph-powershell-1.0&preserve-view=true ) |
325
341
| New-AzureADServiceAppRoleAssignment| [ New-MgServicePrincipalAppRoleAssignment] ( /powershell/module/microsoft.graph.applications/new-mgserviceprincipalapproleassignment?view=graph-powershell-1.0&preserve-view=true ) |
326
342
| New-AzureADServicePrincipal| [ New-MgServicePrincipal] ( /powershell/module/microsoft.graph.applications/new-mgserviceprincipal?view=graph-powershell-1.0&preserve-view=true ) |
327
343
| New-AzureADServicePrincipalKeyCredential<sup >1</sup >| [ Add-MgServicePrincipalKey ] ( /powershell/module/microsoft.graph.applications/add-mgserviceprincipalkey?view=graph-powershell-1.0&preserve-view=true ) |
0 commit comments