Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Retrieve managed portal storage account

Alexander Zaslonov edited this page Dec 17, 2019 · 3 revisions

Follow the steps below to retrieve the Storage Account connection string for the managed version of the portal:

  1. Call the /tenant/settings operation on your API Management service. You need to use the direct management API and authenticate the request with a SAS token.

    GET https://<api-management-instance>.management.azure-api.net/tenant/settings?api-version=2018-01-01
    
    ...
    Authorization: SharedAccessSignature token
    ...
    
  2. Look for the "PortalStorageConnectionString" field in the response. Its value is the Storage Account connection string of the managed portal of your API Management service.

Managed portal stores media in a blob container named content.