Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Create the Service Provider (SP) metadata for a Power App using the following template:

Code Block
languagexml
titleSP Metadata
<?xml version="1.0" encoding="UTF-8" ?>
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata"
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#" entityID="https://power-app-service-provider-realm">
       <SPSSODescriptor WantAssertionsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
              <NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</NameIDFormat>
              <AssertionConsumerService 
                   Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
                   Location="https://power-app-assertion-consumer-service-url"
                   index="0" isDefault="true">
               </AssertionConsumerService>
               <SingleLogoutService
                   Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
                   Location=""/>
        </SPSSODescriptor>
</EntityDescriptor>

Replace the following text

  • power-app-service-provider-realm
  • power-app-assertion-consumer-service-url

with the Power App's real settings as illustrated below:

Image Added