Skip to main content

InvalidOperation,Microsoft.Rtc.Management.AD.Cmdlets.AssignCSTeamsUpgradePolicyCmdlet: The tenant cannot switch to Teams Only mode

Microsoft shows this PowerShell error identifier when Grant-CsTeamsUpgradePolicy rejects a tenant upgrade because a public DNS record still points to a Skype for Business Server deployment.

What to check​

  1. Read the detailed PowerShell message and note the domains whose lyncdiscover records are flagged.
  2. Check which SIP domains are in use. Coordinate any required user migration and hybrid changes before pointing their DNS records to Microsoft 365. Follow Microsoft's procedure for any SIP domains that are no longer used.

Official reference​