I'm running powershell as an admin, I have the latest azure powershell tools installed, the account I'm connecting to o365 is an enterprise admin.
We are using dirsync to get our AD users into o365
when I run Set-MsolUser -UserPrincipalName user@domain.com -UsageLocation US
I get access denied, I've tried with a few different users, I've also tried -assignlicenses with our correct sku
My large plan is to be able to script assigning a o365 license to a group of users,but I always to to start small to make sure my basic commands working before I start with the larger script.
Not sure why I'm getting access denied