Hi @JMC
Thank You for posting in Q & A.
To resolve this issue, follow these steps.
Install the Azure Active Directory Module for Windows PowerShell on the computer (if it isn't already installed). To install the Azure Active Directory Module for Windows PowerShell, see Manage Azure AD using Windows PowerShell.
Select Start > All Programs, select Windows Azure Active Directory, and then select Windows Azure Active Directory Module for Windows PowerShell.
At the Windows PowerShell command prompt, type Get-Module, and then press Enter.
In the output, check that the Az.Compute
module is present. The output should look similar to the following one:
If the Az.Compute
module isn't present, use Windows PowerShell to import the Az.Compute
module. To do it, follow these steps:
Connect to Exchange Online by using remote PowerShell. For more info about how to do it, see Connect to Exchange Online Using Remote PowerShell.
Type the following cmdlet, and then press Enter:
Import-Module Az.Compute
Please don’t forget to Accept the answer
and up-vote
wherever the information provided helps you, this can be beneficial to other community members.