An Azure service that provides a hybrid, multi-cloud management platform for APIs.
Hi Shahzad Muhammad,
Thanks for reaching out to Microsoft Q&A.
What Publishing Does Under the Hood
- The portal’s admin UI calls your APIM management endpoint (GET contentTypes/document/contentItems/configuration) to pull down the saved content.
- It writes that content into the portal storage and pushes it to the front-end CDN.
- You get a success/failure status back in the Azure portal.
Below are the common reasons it fails:
- Permissions gap for portal token generation
- VNet or DNS blocking management calls
- Untrusted TLS cert on a custom domain
- Unsaved design changes
Troubleshooting Steps & Checks:
- Verify Browser Console & Correlation ID
- Open F12, go to Network, reproduce the publish.
- Look for failing calls to
…/contentItems/configuration?api-version=… - Grab any HTTP status, error text or correlation ID.
- RBAC Permission for Portal Admin
- Even Global Admin/Azure AD Admin roles need the
Microsoft.ApiManagement/service/users/token/actionpermission at the APIM service scope. - You can create or assign the built-in “APIM New Portal Admin” custom role (see FAQ below).
- After assigning, sign out/in and retry.
- Even Global Admin/Azure AD Admin roles need the
- VNet & DNS (if APIM is in an internal VNet)
- Can your client machine resolve the management endpoint’s internal VIP?
- Try
curl https://<your-apim>.management.azure-api.net/...from the same network. - If you front-end APIM with an App Gateway/WAF, ensure you’ve allowed traffic to the management endpoint.
- Custom Domain & Cert Trust
- If you bound a custom domain (portal or mgmt), the browser must trust the TLS certificate.
- As a quick test, remove the custom mgmt domain and republish to fall back on the default endpoint.
- Save in Design Mode
- Any Design-mode edits (themes, widgets, identity providers) require you to click Save before you hit Publish.
- Check Diagnostic Logs
- Enable APIM diagnostic logs in Azure Monitor, filter for
contentItemsoperations and look for failures.
- Enable APIM diagnostic logs in Azure Monitor, filter for
- Try a Different Browser/Incognito
- IE isn’t supported. Make sure you’re on a current version of Chrome/Edge/Firefox/Safari.