File Sharing Problems

Copy an Excel Online Workbook and Create an Editing Link with Power Apps

Anum MushtaqAnum Mushtaq Nov 18, 2026 871 views

Question details

Create an independent copy of an Excel Online workbook and give users an editable link through Power Apps.

Copy an Excel Online Workbook and Create an Editing Link with Power Apps
Product
Microsoft Power Apps, Power Automate, and Excel Online
Device & OS
not provided
Scenario
A Power Apps user needs to open and edit a new copy of a workbook stored in OneDrive or SharePoint.
Observed behavior
The desired result is a separate workbook with an editing link returned to Power Apps.
Before you start

Store the source workbook in OneDrive for Business or SharePoint and confirm that the flow connection can copy files and create sharing links there. Check your organization's sharing policies and decide which users should be allowed to edit each copy.

Solution 1Recommended

Copy the workbook and return an editing link with Power Automate

Use a flow called from Power Apps to create a separate workbook and return its sharing URL.

A new sharing link alone does not create an independent workbook. The flow must copy the file first, then create a link to the copy.

1
Create a flow

In Power Automate, create an instant cloud flow with the Power Apps (V2) trigger. Add any inputs needed to identify the source workbook or name the copy.

2
Copy the workbook

Add the OneDrive for Business or SharePoint Copy file action. Select the source workbook and a destination, and give each copy a unique name to avoid conflicts.

3
Get the copied file

Use the copied file's identifier from the copy action if available. Otherwise, add the connector's Get file metadata using path action and select the destination path.

4
Create an edit link

Add Create sharing link for the copied file. Choose an edit link and an audience allowed by your organization's policies, then select the copied file's identifier.

5
Return and open the link

Add Respond to a Power App or flow with a text output containing the sharing link URL. In Power Apps, add the flow to the app and call it from a button's OnSelect property, then use Launch with the returned URL.

Copy the workbook and return an editing link with Power Automate
Check access: The link's audience and edit permissions determine who can open the copy. Sharing options can be restricted by your administrator, and users may need to sign in.
Free Microsoft Office alternative

Work with Excel workbooks in WPS Office

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Open compatible Excel files and continue working with your existing documents; the Power Apps and Power Automate workflow still requires Microsoft services.

Open and edit compatible Excel workbooks in WPS SpreadsheetSupports Microsoft Excel formats such as XLSX and XLSFamiliar spreadsheet interface makes migration easierFree and lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Can Power Apps create an independent workbook by generating a new link?

No. A new link can point to the existing workbook, but an independent workbook requires a file copy. Use a Power Automate Copy file action before creating the sharing link.

How do I make sure users can edit the copied workbook?

In the flow's Create sharing link action, select an edit link and an appropriate audience. The available choices depend on the storage location and your organization's sharing policies.

How does Power Apps receive the link from the flow?

Add Respond to a Power App or flow after the sharing-link action and return the URL as a text output. Call the flow from the app, then pass the returned URL to Launch.

How can I prevent copies from overwriting each other?

In the Copy file action, use a unique destination filename for each request, such as a name containing a generated identifier. Also check the action's conflict behavior.