Is MSOnline Really Done? Getting Access Denied with Get-MsolAccountSku

0
10
Asked By CuriousCoder85 On

I've been using an onboarding script that runs the command 'get-msolaccountsku,' but now I'm hitting an 'Access Denied' error. I've verified that I still have Global Administrator rights, so I'm not sure why this is happening. Has anyone encountered this issue or have any insights?

4 Answers

Answered By TechSavvyDude42 On

Yeah, it looks like MSOnline is officially deprecated! Microsoft has been hinting at this for a while now. You might want to switch to using the Graph API instead for any kind of license management.

CuriousCoder85 -

Thanks for the heads up! I figured it was something like that but wanted to confirm before spending more time on troubleshooting.

Answered By LicenseWizard84 On

Yep, looks like MSOnline is going the way of the dodo. Just curious, what specific information were you trying to retrieve? I’ve got some scripts that might help you out.

Answered By CloudGazer777 On

They’ve been saying it’s deprecated for a while now—just finally catching up, huh? If you’re after license info, look into the Graph API endpoints; they should help with what you need.

CuriousCoder85 -

I appreciate the tip! I'll check that out.

Answered By ScriptingNinja99 On

Just so you know, if you're diving into the Graph API, be cautious with the latest cmdlets. I recently ran into some bugs with license assignments in version 2.26. It might be worth updating to 2.27, but I can't confirm if it resolved the issues yet.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.