Why Can’t I Access Management Scope Cmdlets in Exchange Online PowerShell?

0
15
Asked By TechWhizKid94 On

I'm trying to set up a custom management scope in Exchange Online PowerShell, but even after a clean installation of the module, I'm unable to use the cmdlets I need. I'm in a hybrid Exchange environment and referring to Microsoft's KB on the New-ManagementScope cmdlet, which indicates that while these cmdlets are available for both on-premises and cloud services, some parameters might be exclusive to one environment.

I can see the cmdlets in the on-prem management shell, but I can't assign a management scope to a cloud app from Exchange on-prem. This leaves me in a bind where both tasks require different cmdlets that aren't available in the corresponding environment. I've searched online and found several posts about setting up management scopes in Exchange Online, but the cmdlets I need don't appear in the ExchangeOnlineManagement module. The only cmdlets I can find are listed on the Microsoft documentation for PowerShell, and after connecting to Exchange Online and signing in with my admin credentials, I still don't see the RBAC cmdlets. Can anyone help clarify what's going on? I'm really frustrated trying to figure this out! By the way, I have version 3.9.0 of the ExchangeOnlineManagement module installed.

1 Answer

Answered By ScriptNinja22 On

When you connect to Exchange Online, try running `Get-Module`. You'll find that it adds a temporary module for proxied commands, which is where you'll typically see the Exchange commands if you have the necessary role. Make sure you check there first!

FrustratedAdmin87 -

Thanks for the tip! I checked, but the cmdlets I need still aren't showing up. I think it might be a permissions issue since I'm pretty sure I have Exchange admin permissions. Could it require Global Admin permissions to access those cmdlets?

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.