azure - Use ACS Management Service via c# to reimport Metadata on IdP -


i'm working on project involving adfs2.0, azure acs , umbraco cms.

when create new website, , add relying party applications, , add identity provider in azure, it's supposed push settings umbraco cms also.

however, connection umbraco not seem work. can't import identity provider, unless manually go azure, , reimport metadata ws-federation. idp pushed umbraco also.

this reimport, c# project, can't seem find possibility ind api

is there kind of explanation this, , fix/workaround?

i think you're asking whether there way programmatically import federation metadata identity provider in acs. in case, answer yes, supported.

make http post following url: https://[namespace].accesscontrol.windows.net/v2/mgmt/service/importfederationmetadata/importidentityprovider

the contents of request must be:

  • a management service token in authorization header (see this sample)
  • an http header "metadataurl" includes url metadata came
  • a post body containing metadata of identity provider.

Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -