Skip to content

Commit 21e8864

Browse files
committed
Fix comments.
1 parent eec9bd4 commit 21e8864

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Teams/beta/custom/SetMgBetaChatRscConfiguration_Update.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ await this.Client.UpdateTeamsAppSettings(
330330
if (((Microsoft.Graph.Beta.PowerShell.Runtime.IEventListener)this).Token.IsCancellationRequested) { return; }
331331

332332
// Remove all permission grant policies assigned to default user role permissions which are relevant to chat scope and add
333-
// Microsoft created.policy enabling pre-approvals.
333+
// Microsoft managed policy for consent.
334334
IEnumerable<string> updatedPermissionGrantPolicies = authorizationPolicy.DefaultUserRolePermissions.PermissionGrantPoliciesAssigned
335335
.Except(
336336
assignedPermissionGrantPoliciesApplicableToChatScope.Select(p => p.ManagePermissionGrantsForOwnedResourcePrefixedId),

src/Teams/beta/custom/SetMgBetaTeamRscConfiguration_Update.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,8 @@ await this.Client.UpdateDefaultUserRolePermissionGrantPoliciesAssigned(
307307
}
308308
else if (this.State == MicrosoftGraphRscConfigurationState.ManagedByMicrosoft)
309309
{
310-
// Remove all permission grant policies assigned to default user role permissions which are relevant to team scope.
310+
// Remove all permission grant policies assigned to default user role permissions which are relevant to team scope and add
311+
// Microsoft managed policy for consent.
311312
IEnumerable<string> existingPermissionGrantPoliciesExceptTeamScopePolicies = authorizationPolicy.DefaultUserRolePermissions.PermissionGrantPoliciesAssigned
312313
.Except(
313314
assignedPermissionGrantPoliciesApplicableToTeamScope.Select(p => p.ManagePermissionGrantsForOwnedResourcePrefixedId),

0 commit comments

Comments
 (0)