unable to use latest Microsoft.Graph.Applications module.

atul sahu 6 Reputation points
2021-07-03T08:17:40.633+00:00

As an automation engineer, want to do make use of PowerShell commandlet named Get-MgServicePrincipalSynchronizationJob. in order to get sychronizationJob Id, and later i want to configure & start provisioning.

the details are mentioned on Microsoft Learn page : https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.applications/get-mgserviceprincipalsynchronizationjob?view=graph-powershell-beta

inorder to use this commandlet i ran below commands on shell.azure.com. i.e. azure cloud shell.

Install-Module -Name Microsoft.Graph.Applications -SkipPublisherCheck -Scope CurrentUser -AllowPrerelease -Force
Import-Module -name Microsoft.Graph.Applications

But when i try to get the special commandlet, i am unable to find it.

Get-Help Get-MgServicePrincipalS*

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,349 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Siva-kumar-selvaraj 15,546 Reputation points
    2021-07-13T16:19:24.65+00:00

    Hello @atul sahu ,

    Thanks for reaching out and sincere apologies for the delay on this. We are constantly trying to reduce our answer time and in coming days you will see a significant improvement here.

    I was able to install and use Microsoft.Graph.Applications from Azure shell. Here is outcome from my test environment:

    Installed module with Install-Module -Name Microsoft.Graph.Applications and was able to run Get-Help Get-MgServicePrincipalS*

    114314-image.png

    Can you run Get-Module Microsoft.graph* -ListAvailable and confirm the module present in cloud shell as shown below:

    114293-image.png

    Adding Graph team to get more expertise on this one. Thanks

    1 person found this answer helpful.
    0 comments No comments