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 Apps / Dataflows > Power Quer...
Power Apps
Unanswered

Dataflows > Power Query > Unexpected error

(0) ShareShare
ReportReport
Posted on by 6

I've created a Dataflow to consolidate Excel files held in a SharePoint folder.

 

I did this in Dataflows > Power Query > SharePoint folder connector

 

When it comes to the final stage Do not load to table, then Refresh manually I get "We encountered an unexpected error."

 

I cannot use the WebAPI as an alternative as I get an Invalid Credentials error everytime I point it anything apart from an Excel file or SharePoint list.

I have the same question (0)
  • v-jefferni Profile Picture
    on at

    Hi @RoryJC ,

     

    I made a test in PowerQuery using SharePoint Folder connector and worked fine.

     

    Since you mentioned in the end, and as per this post:

    https://powerusers.microsoft.com/t5/Microsoft-Dataverse/Unexpected-error-importing-data-with-power-query/m-p/521145, please make sure you have been assigned to a system administrator or system customizer security role.

     

    Please take the check and try again.

     

    If the issue persists, you may raise a ticket on support page with session ID:

    https://powerapps.microsoft.com/en-us/support/

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • RoryJC Profile Picture
    6 on at

    Thank yu @v-jefferni ,

     

    The CIO is looking at the Access Control (IAM) blade but cannot see the right permission. I guess the system customizer security role is the most appropriate.

     

    Could you give us some tips how to find that role and allocate it, please?

     

     

    Thanks

  • RoryJC Profile Picture
    6 on at

    I think we've figured out the permissions bit. I'm not a System Administrator  on the environment. I was a customiser previously

     

    I'm basically getting an Unexpected Error anytime I try to create a Dataflow.

  • v-jefferni Profile Picture
    on at

    Hi @RoryJC ,

     

    So,  below are the screenshots of security roles setup and user assignment:

    63.png64.png65.png

     

    If you have resolved the problem, please consider accept this as a solution to help other members find it.

     

    Best regards,

    Community Support Team _ Jeffer Ni

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard