How to Embed a Power Apps Government App in SharePoint
Question details
The user needs to embed a Power Apps application hosted in the government cloud into a SharePoint page, but the SharePoint Power Apps web part does not recognize the government URL and only shows a preview option.

- Product
- Microsoft SharePoint Online and Power Apps for Government
- Device & OS
- not provided
- Scenario
- A government organization is adding a Power Apps app to a SharePoint site for internal use.
- Observed behavior
- The Power Apps web part does not recognize the apps.gov.powerapps.us URL and only displays the preview option or rejects the link.
Confirm that you have Edit permissions on the target SharePoint page and know whether your Power Apps environment is a commercial or government cloud tenant. Open the Power Apps app details page and copy the web link or app ID before editing the SharePoint web part.
Use the Power Apps web part with the correct app ID or government cloud link
Use this when the SharePoint web part does not recognize the apps.gov.powerapps.us URL. The app ID from the app details page is often the most reliable identifier.
The Power Apps web part in SharePoint normally accepts a web link or app ID. Government cloud tenants sometimes require a different link format than the commercial powerapps.com service, so using the app ID can avoid URL validation errors.
In SharePoint Online, go to the target page, select Edit, and choose the section where you want to place the Power Apps app.
Select the plus icon or edit the web part area, search for Power Apps, and add the Power Apps web part to the page.
Open the app details page in your government Power Apps environment, then copy the app ID or the exact web link shown for the app.
In the web part property pane, paste the copied app ID or link into the App web link or ID field and select the app.
If the app appears as a preview or is rejected, try the app ID instead of the URL. When the correct app loads, publish the SharePoint page.

Contact the Power Apps community or Microsoft 365 support for tenant-specific link format
Use this if the web part still rejects the government URL or app ID after trying the standard steps.
Use WPS Office as a Free, Lightweight Alternative for Microsoft Office Files
Although WPS Office cannot embed Power Apps in SharePoint, it is a free, lightweight Office suite that opens, edits, and saves Word, Excel, and PowerPoint files—including files downloaded from SharePoint—with Microsoft Office format compatibility and a familiar interface.
- 1. Download WPS Office: Go to the official WPS website and download WPS Office Free for Windows, macOS, Android, or iOS.
- 2. Open your SharePoint-downloaded file: Launch WPS Office and open the Word, Excel, or PowerPoint file you downloaded from SharePoint.
- 3. Edit and save in Microsoft-compatible format: Make your changes, then save the file as .docx, .xlsx, or .pptx so it remains compatible with Microsoft Office.

Frequently Asked Questions
Why does the SharePoint Power Apps web part show only a preview for my government app?
It may not recognize apps.gov.powerapps.us as a valid commercial Power Apps link. Use the app ID from the app details page or the exact link provided for your government cloud tenant.
Where do I find the Power Apps app ID or web link?
Open the app details page in your Power Apps environment, usually in your government cloud portal, and copy the app ID or web link shown there.
What should I do if the Power Apps web part still rejects the government URL?
Post in the Power Apps community with your environment details and error message, or open a Microsoft 365 support ticket in the Admin Center so Microsoft can verify the tenant URL format.
Can WPS Office embed Power Apps in SharePoint?
No, WPS Office does not manage SharePoint web parts or Power Apps embedding. It can open and edit Microsoft Office files downloaded from SharePoint.
Do I need SharePoint edit permissions to add the Power Apps web part?
Yes, you need edit permissions on the SharePoint page to add or configure the Power Apps web part.




