File tree Expand file tree Collapse file tree
src/Microsoft.Agents.A365.DevTools.Cli
Commands/SetupSubcommands Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -357,9 +357,9 @@ await SetupHelpers.EnsureResourcePermissionsAsync(
357357 cancellationToken ) ;
358358
359359 // Configure Power Platform API permissions using unified method
360- // Note: This uses the Microsoft Dynamics CRM / Power Platform Common Data Service API (00000003-0000-0ff1-ce00-000000000000)
361- // which exposes Connectivity.Connections.Read. This is different from the MOS Power Platform API
362- // (8578e004-a5c6-46e7-913e-12f58912df43 in MosConstants) used for environment management .
360+ // Note: Using the MOS Power Platform API (8578e004-a5c6-46e7-913e-12f58912df43) which is
361+ // the Power Platform API for agent operations. This API exposes Connectivity.Connections.Read
362+ // for reading Power Platform connections .
363363 // Similar to Messaging Bot API, we skip addToRequiredResourceAccess because the scopes
364364 // won't be found in the standard service principal permissions.
365365 // The permissions appear in the portal via OAuth2 grants and inheritable permissions.
Original file line number Diff line number Diff line change @@ -59,14 +59,12 @@ public static class ConfigConstants
5959 public const string ObservabilityApiAppId = "9b975845-388f-4429-889e-eab1ef63949c" ;
6060
6161 /// <summary>
62- /// Microsoft Dynamics CRM / Power Platform Common Data Service API App ID
63- /// Well-known Microsoft API ID for accessing Power Platform connections and Dynamics resources.
64- /// Exposes permissions like Connectivity.Connections.Read for Power Platform connection access.
65- ///
66- /// Note: This is different from MosConstants.PowerPlatformApiResourceAppId (8578e004-a5c6-46e7-913e-12f58912df43),
67- /// which is the MOS-specific Power Platform API used for environment management with EnvironmentManagement.Environments.Read.
68- /// </summary>
69- public const string PowerPlatformApiAppId = "00000003-0000-0ff1-ce00-000000000000" ;
62+ /// Power Platform API App ID
63+ /// MOS-specific Power Platform API for environment management and Power Platform operations.
64+ /// Same as MosConstants.PowerPlatformApiResourceAppId.
65+ /// Exposes permissions like EnvironmentManagement.Environments.Read and Connectivity.Connections.Read.
66+ /// </summary>
67+ public const string PowerPlatformApiAppId = "8578e004-a5c6-46e7-913e-12f58912df43" ;
7068
7169 /// <summary>
7270 /// Production deployment environment
You can’t perform that action at this time.
0 commit comments