We are configuring SSO for Microsoft Office365 to be used by our users.

The query is regarding configuring different applications to use SSO (SAML based):-

  1.        We have the SAML IDP metadata which we need to upload to the application(service provider).
        We will need to download the service provider metadata and upload it to our identity provider.

Do these applications have API for us to automate this process?

a) IDP meta data upload, typically a POST request containing our IDP metadata XML

b) SP metadata download, typically a GET request containing SP metadata XML.