Fix Power Automate Error: SharePoint Site Address Is Not Valid
Question details
Users are encountering an error in Power Automate where SharePoint actions fail because the site address or media URL is reported as invalid.
- Product
- Power Automate and SharePoint
- Device & OS
- not provided
- Scenario
- Running automated workflows that involve SharePoint HTTP requests, downloading ZIP files, or generating filled PDFs after a Microsoft service or connector change.
- Observed behavior
- The workflow fails with an error indicating that a specific SharePoint media URL (such as eastus1-mediap.svc.ms) is not valid.
Check the Microsoft 365 Service Health dashboard first, as this issue is frequently caused by platform-side outages or Microsoft connector updates.
Use a Dynamic URI Expression for SharePoint Actions
Implement a dynamic workaround expression to construct the correct ZIP transformation URI using the current media base URL and caller stack values.
Because Microsoft occasionally changes backend media URLs (like eastus1-mediap.svc.ms), hardcoded addresses in your HTTP actions may suddenly fail. Using a dynamic expression ensures your flow always targets the correct, active media URL.
Log into Power Automate, navigate to 'My flows', and open the failing flow in Edit mode.
Find the specific 'Send an HTTP request to SharePoint' action that is causing the invalid site address error.
Replace the static URL in the URI field with the following expression: concat(body('SharePointHTTP')['ListSchema']['.mediaBaseUrl'], '/transform/zip?cs=', body('SharePointHTTP')['ListSchema']['.callerStack'])
If you deleted and recreated the action to apply this fix, ensure you rename the new action to match the exact name of the original one. This prevents downstream actions from breaking.
Save your flow and trigger a manual test to confirm the ZIP download or PDF generation now completes successfully.
Looking for a Reliable Document Solution? Try WPS Office
While waiting for cloud connector issues and Power Automate outages to be resolved, consider WPS Office for your local document management. It is a highly compatible, robust, and free alternative to Microsoft Office.
- 1. Download the installer: Visit the official WPS website to download the free WPS Office installer.
- 2. Install WPS Office: Run the installer and follow the simple on-screen instructions to set up the software on your computer.
- 3. Open your documents: Launch WPS Office to easily open, edit, and save your existing Microsoft Office formats without any conversion issues.

Frequently Asked Questions
Why does the eastus1-mediap.svc.ms URL suddenly become invalid in Power Automate?
This error typically occurs due to backend updates, architectural changes, or temporary outages in Microsoft's SharePoint connectors or media processing services. When Microsoft changes the routing, previously hardcoded media URLs stop working.
Can this SharePoint site address error affect PDF generation flows?
Yes, many users report that workflows designed to generate filled PDFs via SharePoint HTTP requests return this exact invalid media URL error when the underlying Microsoft service is updated or disrupted.
Why is it important to preserve the original action name in Power Automate?
Subsequent steps in your Power Automate flow often depend on the output variables of previous actions. If you replace an action and change its name, all downstream references will break, causing the flow to fail.




