CopilotClient.ScopeFromCloud(PowerPlatformCloud) Method

Definition

Returns the scope URL needed to connect to Copilot Studio from the Power Platform cloud.

public static string? ScopeFromCloud(Microsoft.Agents.CopilotStudio.Client.Discovery.PowerPlatformCloud cloud);
static member ScopeFromCloud : Microsoft.Agents.CopilotStudio.Client.Discovery.PowerPlatformCloud -> string
Public Shared Function ScopeFromCloud (cloud As PowerPlatformCloud) As String

Parameters

cloud
PowerPlatformCloud

The Power Platform cloud to use.

Returns

The token audience scope URL as a string, or null if not available.

Applies to