Is MSOnline Really Done? Getting Access Denied with Get-MsolAccountSku
Asked by
quill.and.inkwell
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?
Answers
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.
Reply to this answer
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.
Reply to this answer
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.
Reply to this answer
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.
quill.and.inkwell: Thanks for the heads up! I figured it was something like that but wanted to confirm before spending more time on troubleshooting.
Reply to this answer
Add your answer
Answers are reviewed before publication.
quill.and.inkwell: I appreciate the tip! I'll check that out.