Microsoft Office Tutorials and References
In Depth Information
Microsoft Online Services Module
Note Permissions error
You might get an error message stating you do not have the correct permissions
to change the execution policy. This happens if you did not launch the Microsoft
Online Services Module as an administrator. Close the Microsoft Online Services
Module, then right-click the icon and select Run as administrator.
5. Type Y or just press Enter to accept changes to the execution policy, as shown in Figure
Figure 2-44 Confirm changing the execution policy to unrestricted.
6. Run the GetO365LicInfo.ps1 script again. With the execution policy set to
unrestricted, the script will now run, as shown in Figure 2-45.