- Check Policy Assignment Ensure the policy is properly assigned to the group. You might want to list all policies and confirm that "Teamspolicy1" exists and is assigned correctly.
Get-CsExternalAccessPolicy
- Verify Group Membership Ensure that
User1
is indeed a member ofSG1
and that the group ID used in theGrant-CsExternalAccessPolicy
command is correct.Get-AzureADGroupMember -ObjectId "GroupId"
- Wait for Replication Sometimes policy changes can take a few minutes to propagate. Wait for a bit and then recheck the user’s policy assignment.
Reference Doc:-https://learn.microsoft.com/en-us/microsoftteams/assign-policies-users-and-groups