編輯

共用方式為


Nested app auth requirement set

Requirement sets are named groups of API members. Office Add-ins use requirement sets specified in the manifest or use a runtime check to determine whether an Office application supports APIs that an add-in needs. For more information, see Office versions and requirement sets.

Office Add-ins run across multiple versions of Office. The following table lists the nested app auth requirement set, the supported Office client applications, and the minimum builds or versions for those applications where applicable.

Requirement set Office on the web Office on Windows
  • Microsoft 365 subscription
Office on Windows
  • retail perpetual
  • volume-licensed perpetual
Office on Mac Office on iPad and Outlook on Android
NestedAppAuth 1.1 Supported Version 2409 (Build 18025.20000) Not available Version 16.89 (Build 24090815) Build v4.2433.0

Important

  • Currently, the NestedAppAuth 1.1 requirement set is supported in Office on the web only for documents that are opened from Microsoft SharePoint Online and OneDrive.
  • In Outlook, the NestedAppAuth 1.1 requirement set isn't supported if the add-in is loaded in an Outlook.com or Gmail mailbox.

Outlook and NestedAppAuth requirement set

To require the NestedAppAuth requirement set 1.1 in your Outlook add-in code, check if it's supported by calling isSetSupported('NestedAppAuth', '1.1'). Declaring it in the Outlook add-in's manifest isn't supported. You can also determine if the API is supported by checking that it's not undefined. For further details, see Using APIs from later requirement sets.

Office versions and build numbers

To find out more about versions and build numbers, see:

Office Common API requirement sets

For information about Common API requirement sets, see Office Common API requirement sets.

See also