Примечание
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Specifies information about the app's Microsoft Entra ID application registration.
Properties that reference this object type:
Syntax
Properties
id
Microsoft Entra application ID of the app. This ID must be a GUID.
Type
string
Required
✅
Constraints
Supported values
The string value must be a guid.
resource
Resource URL of app for acquiring auth token for SSO.
Type
string
Required
—
Constraints
Maximum string length: 2048.
Supported values
nestedAppAuthInfo
By including this property, an NAA token based on its contents will be prefetched when the tab is loaded.
Type
Array of nestedAppAuthInfo
Required
—
Constraints
Maximum array items: 5.
Supported values
Remarks
If you aren't using SSO, ensure that you enter a dummy string value for the resource
value to avoid an error response, for example https://example. The dummy URL string value must not contain domains or URLs that aren't in your control, either directly or through wildcards. For example, yourapp.onmicrosoft.com
is valid, but *.onmicrosoft.com
isn't valid. Top-level domains, such as *.com
and *.org
, are prohibited.
Note
- If your app includes an Office Add-in, be sure you're familiar with where the single sign-on API in the Office JavaScript Library is currently supported. See Identity API requirement sets.
- If you're working with an Outlook add-in, be sure to enable Modern Authentication for the Microsoft 365 tenancy. To learn how to do this, see Enable or disable modern authentication for Outlook in Exchange Online.
Examples
{
"webApplicationInfo": {
"id": "12345678-abcd-1234-efab-123456789abc",
"resource": "api://contoso.com/12345678-abcd-1234-efab-123456789abc"
}
}