Enabling remote execution policy for PowerShell

You must have administrative privileges along with privileges to enable the remote execution policy of PowerShell.

About this task

Use the following steps to enable the remote executor policy of PowerShell.
Important: This is the one time procedure that you need to complete on your system.

Procedure

  1. Open Windows Power Shell command prompt as administrator and run the following command:
    Install-Module -<module_name> AzureAD
    Where <module_name> is the name of the module you want to install on AzureAD.
  2. Connect to AzureAD form your Office 365 subscription, run the following command:
    Connect-AzureAD
  3. Enter your Office 365 subscription credentials.