Documentation - v1.5.0-beta.6
Preparing search index...
@microsoft/agents-hosting
resolveAuthority
Function resolveAuthority
resolveAuthority
(
authority
?:
string
,
tenantId
?:
string
)
:
string
Resolves the full authority URL including the tenant ID. Supports both patterns:
Tenant embedded in authority:
https://login.microsoftonline.com/my-tenant
Authority + separate tenantId:
https://login.microsoftonline.com
+ tenantId Also handles trailing slashes on authority.
Parameters
Optional
authority
:
string
Optional
tenantId
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Documentation - v1.5.0-beta.6
Loading...
Resolves the full authority URL including the tenant ID. Supports both patterns: