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...
VasilMichev
Jul 24, 2023MVP
Try using $null without the quotes.
- ElCamino_STJul 25, 2023Copper ContributorHi 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.
- VasilMichevJul 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!