Quantcast
Channel: Office 2013 and Office 365 ProPlus - Planning, Deployment, and Compatibility forum
Viewing all articles
Browse latest Browse all 3748

How to Use PowerShell to Automatically Assign Licenses to Your Office 365 Users

$
0
0

I'm trying to setup a PowerShell script to automate the licensing in Office 365.  I'm working from the following link as my base and have made no modifications from the original posted content:

http://social.technet.microsoft.com/wiki/contents/articles/15905.how-to-use-powershell-to-automatically-assign-licenses-to-your-office-365-users.aspx?PageIndex=1

Once I run setupscript.ps1, I get the following error:

Exception calling "FindAll" with "0" argument(s): "Unknown error (0x80005000)"
At C:\scripts\SetupScript.ps1:261 char:1
+ $results=$searcher.FindAll()

Can anyone advise me how to resolve this?


mdclem


Viewing all articles
Browse latest Browse all 3748

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>