Enable or disable access to Teams PowerShell

Occasional Contributor

Looking for some guidance in limiting Teams remote PowerShell access. Is there a way to do this similarly to Exchange Online Enable or disable access to Exchange Online PowerShell | Microsoft Docs ?

Is this possible using Conditional Access policies just for the PowerShell modules rather than GUI/API access?

1 Reply
best response confirmed by Danny Grasso (Occasional Contributor)

@Danny Grasso 


No, but Teams PowerShell is only available to certain Teams admin roles, as per the table at the link below. ExOL PowerShell is different in that any user can connect, hence the override ability.


Use Microsoft Teams administrator roles to manage Teams - Microsoft Teams | Microsoft Docs