web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error on the "Create t...
Power Automate
Suggested Answer

Error on the "Create table for Excel Online" for users running flow

(0) ShareShare
ReportReport
Posted on by 43
Hi all,
Am relatively new to Power Automate and request for assistance.
I created a flow triggered from my PowerApps button to generate a excel file based on the filtered options.  As the Flow admin/creator, the flow works great.
However, all other users accessing the PowerApp get an error when they try generating an excel file.
When I check, the source of the error is at the "Create table for Excel Online" action.
this is error response from Copilot: 
"The error indicates that the 'Create table' action failed with a 404 status, meaning the resource could not be found. This is likely caused by an incorrect reference to the file ID in the 'Create table' action, as the file may not have been created successfully, or the ID is not being retrieved correctly".
 
The "Create file" action creates a blank excel file in the user's OneDrive location but the "Create table " fails to locate the created file. 
 
I have added a delay between the Create file and Create Table actions, but the same error shows up for the other users. I have also shared the flow with the users and set the Connections to "provided by run-only user" but still the flow gets an error at the same stage.

I request help to figure out why it works for only me the admin and possible solutions for other users to run the flow successfully.
Thank you in advance.

 

This is the flow run.

 
 
Parameters for the Create file to OneDrive action and Create table for Excel Online
                        
 
 
Below are the errors other users running the flow get.
 
 Body Output for the Create file action that was successful.
 
 
body": {
        "Id": "b!7Wkj7j1TtUKN8yMub2t4w5eSJiV8ZGRPsViZrR1MsI4YVhzOkvhMSrcB4TUUpOB_.01RONDQU2XBFVSUBEEGREJV4LNBMYJ2PJW",
        "Name": "AssetList_2025-01-08T06_28_41.1433642Z.xlsx",
        "NameNoExt": "AssetList_2025-01-08T06_28_41.1433642Z",
        "DisplayName": "AssetList_2025-01-08T06_28_41.1433642Z.xlsx",
        "Path": "/ExcelExport/AssetList_2025-01-08T06_28_41.1433642Z.xlsx",
        "LastModified": "2025-01-08T06:28:42Z",
        "Size": 1,
        "MediaType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
        "IsFolder": false,
        "ETag": "\"{2A6B0957-8404-4834-9AF1-6D0B309D3D36},1\"",
        "FileLocator": "b!7Wkj7j1TtUKN8yMub2t4w5eSJiV8ZGRPsViZrR1MsI4YVhzOkvhMSrcB4TUUpOB_.01RONDQU2XBFVSUBEEGREJV4LNBMYJ2PJW",
        "LastModifiedBy": ""
    }
 
this is the Error output for the "Create file " action 
 
the Raw Inputs
{
    "host": {
        "connectionReferenceName": "shared_excelonlinebusiness",
        "operationId": "CreateTable"
    },
    "parameters": {
        "source": "me",
        "drive": "b!entFK8dru0OomBeYEWzVeZ0eJOsdPhVNigSMFtEZbpSTTiX_c14uRZ0OQMIT4rf-",
        "file": "b!7Wkj7j1TtUKN8yMub2t4w5eSJiV8ZGRPsViZrR1MsI4YVhzOkvhMSrcB4TUUpOB_.01RONDQU2XBFVSUBEEGREJV4LNBMYJ2PJW",
        "table/Range": "$A1:$L1",
        "table/TableName": "Asset_List",
        "table/ColumnsNames": "Barcode,Category_Class,Category_sub_class,Asset_type,Asset_make,Asset_model,Color,Room,Location,Department,Status,Condition"
    }
}
 
the Raw Output (Body)for the Create table
 
    "body": {
        "status": 404,
        "message": "The resource could not be found.\r\nclientRequestId: 7cd33dcb-464b-42bb-bdf7-d47f2395988d\r\nserviceRequestId: 2895d459-4dcc-4a99-803a-5524371e2637",
        "error": {
            "message": "The resource could not be found."
        },
        "source": "excelonline-we.azconn-we-002.p.azurewebsites.net"
    }
}
 
 
 
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    Follow this tutorial: https://youtu.be/RB_ySjhm9Sg?si=F-R6_LOLmOVZszaM. I believe it is what you are trying to accomplish.
  • jasonzh Profile Picture
    9 on at
    I’ve attached the screenshot. As you can see, the drive parameter is hardcoded, which means only the flow creator can run the flow without issues. Other users are unable to access the specified drive. Even though they can create the file successfully, the flow fails at the "Create Table" action because the drive is different when executed by someone else.
    An alternative solution is to use SharePoint as a central repository instead of OneDrive. This ensures all users can access the same location. Otherwise, the flow owner must execute the flow on behalf of other users to avoid permission and drive access issues.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard