Documentation - v1.2.0-alpha.3
    Preparing search index...
    • Returns the Power Platform API Audience.

      Parameters

      • Optionalsettings: ConnectionSettings

        Configuration Settings to use.

      • cloud: PowerPlatformCloud = PowerPlatformCloud.Unknown

        Optional Power Platform Cloud Hosting Agent.

      • cloudBaseAddress: string = ''

        Optional Power Platform API endpoint to use if Cloud is configured as "other".

      • directConnectUrl: string = ''

        Optional DirectConnection URL to a given Copilot Studio agent, if provided all other settings are ignored.

      Returns string

      The Power Platform Audience.

      Will throw an error if required settings are missing or invalid.