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 / Create a blank excel s...
Power Automate
Unanswered

Create a blank excel sheet in sharepoint using flows

(1) ShareShare
ReportReport
Posted on by

Hi

 

Im trying to use flows to create a blank excel sheet that i can then use in the same flow to populate with data from an azure active directory connector.

 

I have tried to use the create file in sharepoint connector, but excel cannot open the file.

I think this can be done with json editing, however i have no experince in this field.

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    v-zhos-msft Profile Picture
    on at

    Hi @Anonymous ,

    I have made a test on my side, it has the same issue with you.

    I think it‘s because that when you create a excel file, the action can't identify where to store the file content(which range, which cells).

    To check this issue,I have made some tests.

    When I used file content from a excel file to create a excel file. The excel file can be read successful.

    However, when I used the content from other types file, the excel file can't be opened as your issue.

    If you want to insert the data from an azure active directory into a excel file. I am afraid you need to create a excel with a table in the SP first.

    Then you can use the 'Add a row into a table' action of Excel online to insert the data into the file.

    Best Regards,

    Community Support Team _ Zhongys

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • morph1904 Profile Picture
    2 on at

    There is another option.

     

    I actually copy the template excel file in the sharepoint library.

     

    These are the steps I took to complete this:

     

    1. Create an excel file which we will use as our template (this could be completely blank if you need it to be) and save locally on your machine.
    2. In the SharePoint library you want to use, upload the saved file from step 1 as a new template. This will then appear in the list of templates
    3. In your flow, use the SharePoint copy file action and navigate to your library, in the forms folder you can see your template, use this to copy it to the location you need your blank file in. You can also set it to overwrite a file with the same name if needed.
    4. You can now use this to apply later flow operations to.

    I hope this helps.

     

  • Community Power Platform Member Profile Picture
    on at

    Great answer!  I tried this but ran into just one issue.  Apparently copying the file from the Template/Forms directory doesn't work as Flow can't access that folder within SharePoint Online. Instead, you can copy the file from another "Template" folder that you have created and use that as your source of files to replace theone you want restored to default.  

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard