Forum Discussion
(Ms Teams) Grant-CsTeamsCallingPolicy command has some problem after latest release
Petri-X I have a similar issue regarding Resource Account created directly in TAC.
In the past I was able to configure it as "TeamsOnly" running command Grant-CsTeamsUpgradePolicy -PolicyName UpgradeToTeams -Identity <upn>, but now I receive an error like this:
Microsoft.Teams.ConfigAPI.Cmdlets.internal\Grant-CsUserPolicy : User can't be granted this policy
At XXXXXX\WindowsPowerShell\Modules\MicrosoftTeams\XXX\net472\custom\PsExt\Grant-CsUserOrTenantPolicy.ps1:61 char:13
+ Microsoft.Teams.ConfigAPI.Cmdlets.internal\Grant-CsUserPo ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: ({ Identity = aa...ntUserRequest }:<>f__AnonymousType50`3) [Grant-CsUserPolicy_GrantExpanded], Exception
+ FullyQualifiedErrorId : ClientError,Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Cmdlets.GrantCsUserPolicy_GrantExpanded
I already tested same command with different module version but with same result. I also tried using Identity instead of UPN but KO.
Any Idea?