Others

How to Embed a Power Apps Government App in SharePoint

Camila MilosovichCamila Milosovich Nov 13, 2026 868 views

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.

How to Embed a Power Apps Government App in SharePoint
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.
Before you start

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.

Solution 1Recommended

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.

1
Open the SharePoint page for editing

In SharePoint Online, go to the target page, select Edit, and choose the section where you want to place the Power Apps app.

2
Add the Power Apps web part

Select the plus icon or edit the web part area, search for Power Apps, and add the Power Apps web part to the page.

3
Copy the app ID from Power Apps

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.

4
Enter the app ID or link

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.

5
Verify and republish

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.

Use the Power Apps web part with the correct app ID or government cloud link
Government cloud URL note: The commercial powerapps.com URL may not be accepted in a government tenant. Use the exact app identifier from your apps.gov.powerapps.us environment or ask your tenant administrator for the correct format.
Free Microsoft Office alternative

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. 1. Download WPS Office: Go to the official WPS website and download WPS Office Free for Windows, macOS, Android, or iOS.
  2. 2. Open your SharePoint-downloaded file: Launch WPS Office and open the Word, Excel, or PowerPoint file you downloaded from SharePoint.
  3. 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.
Open and edit Microsoft Word, Excel, and PowerPoint files downloaded from SharePoint without losing .docx, .xlsx, or .pptx formatting.Free, lightweight Office suite that replaces essential Microsoft Office tasks without a subscription.Familiar ribbon interface makes migration from Microsoft Office simple for government and business users.Seamless compatibility with Microsoft Office formats for everyday document, spreadsheet, and presentation work.
microsoft office alternative - wps 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.