Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ private static async Task EnsureMcpOauth2PermissionGrantsAsync(

if (!ok) throw new InvalidOperationException("Failed to update oauth2PermissionGrant.");

logger.LogInformation(" - OAuth2 granted: client {ClientId} to resource {ResourceId} scopes [{Scopes}]",
logger.LogDebug(" - OAuth2 granted: client {ClientId} to resource {ResourceId} scopes [{Scopes}]",
blueprintSpObjectId, mcpPlatformSpObjectId, string.Join(' ', scopes));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public static async Task EnsureResourcePermissionsAsync(
}

// 2. Grant OAuth2 permissions (admin consent)
logger.LogInformation(" - OAuth2 grant: client {ClientId} to resource {ResourceId} scopes [{Scopes}]",
logger.LogDebug(" - OAuth2 grant: client {ClientId} to resource {ResourceId} scopes [{Scopes}]",
blueprintSpObjectId, resourceSpObjectId, string.Join(' ', scopes));

var response = await graph.CreateOrUpdateOauth2PermissionGrantAsync(
Expand Down
Loading