ExtendedPermissions element

Defines the collection of extended permissions the add-in needs to access associated APIs or features. The ExtendedPermissions element is a child element of VersionOverrides.

Important

Support for this element was introduced in requirement set 1.9. See clients and platforms that support this requirement set.

Child elements

Element Required Description
ExtendedPermission No Defines an extended permission needed for the add-in to access the associated API or feature.

ExtendedPermissions example

The following is an example of the ExtendedPermissions element.

...
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
    ...
    <Hosts>
      <Host xsi:type="MailHost">
        <DesktopFormFactor>
          <SupportsSharedFolders>true</SupportsSharedFolders>
          <FunctionFile resid="residDesktopFuncUrl" />
          <ExtensionPoint xsi:type="MessageReadCommandSurface">
            <!-- Configure selected extension point. -->
          </ExtensionPoint>

          <!-- You can define more than one ExtensionPoint element as needed. -->

        </DesktopFormFactor>
      </Host>
    </Hosts>
    ...
    <ExtendedPermissions>
      <ExtendedPermission>AppendOnSend</ExtendedPermission>
    </ExtendedPermissions>
  </VersionOverrides>
</VersionOverrides>
...

Contained in

VersionOverrides

Can contain

ExtendedPermission