Forum Discussion
ElCamino_ST
Jul 24, 2023Copper Contributor
How can I revoke assignment of personal TeamsFilesPolicy to user?
To remove the Files tab from the Teams channel i found the solution to set the Global TeamsFilesPolicy Settings to: Identity : Global NativeFileEntryPoints : Disabled SPChannelFilesTab : Disabl...
ElCamino_ST
Jul 25, 2023Copper Contributor
Hi Vasil, thanks a lot for your reply. Sadly this results in the same behavoiour like the command with the quotes. The command is acceptet but the UserPolicy stays assigned.
VasilMichev
Jul 25, 2023MVP
You sure about that? Might be a replication delay, but if you're still seeing the old value best open a support case.
[18:10:44][Login script]# Get-CsUserPolicyAssignment -User email address removed for privacy reasons
PolicyType PolicyName PolicySource
---------- ---------- ------------
LocationProfile US {US}
MeetingPolicy BposSAllModality {BposSAllModality}
MobilityPolicy MobilityEnableOutsideVoice {MobilityEnableOutsideVoice}
TeamsFilesPolicy UserPolicy {UserPolicy}
TeamsMeetingPolicy RestrictedAnonymousAccess {RestrictedAnonymousAccess}
TeamsUpgradePolicy UpgradeToTeams {UpgradeToTeams}
[18:10:47][Login script]# Grant-CsTeamsFilesPolicy -Identity email address removed for privacy reasons -PolicyName $null
[18:11:05][Login script]# Get-CsUserPolicyAssignment -User email address removed for privacy reasons
PolicyType PolicyName PolicySource
---------- ---------- ------------
LocationProfile US {US}
MeetingPolicy BposSAllModality {BposSAllModality}
MobilityPolicy MobilityEnableOutsideVoice {MobilityEnableOutsideVoice}
TeamsMeetingPolicy RestrictedAnonymousAccess {RestrictedAnonymousAccess}
TeamsUpgradePolicy UpgradeToTeams {UpgradeToTeams}
- ElCamino_STJul 26, 2023Copper Contributor
Hi VasilMichev I just double checked this morning to make sure and after around 18 hours, the policy is still assigned. So i think we can rule out a replication delay.
I will do as you suggested and conntact the support for further help.
Nevertheless thanks a lot for your help which is much appreciated.
Have a nice day!
- Chunkylover53Oct 05, 2023Copper Contributor
ElCamino_ST in the same situation; did you ever find a way to remove a user from a CsTeamsFilesPolicy?
- tedd_yeomOct 30, 2023Copper ContributorI confirmed that the given File policy disappears when the value of policyName is simply "" instead of $null.
ex)
Grant-CsTeamsFilesPolicy -Identity <UPN> -PolicyName ""