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 / Unexpected Error when ...
Power Apps
Unanswered

Unexpected Error when trying to load data from Excel

(0) ShareShare
ReportReport
Posted on by 50

I am trying to load an Excel spreadsheet into CDS. I get "Unexpected Error" when I try to enter the OneDrive shared link into the box. The link is https://constructionspecialtiesfl-my.sharepoint.com/:x:/p/donjr/EVnhiWUx_bVNgYz9Wp2DmEMBk1Qg4-VEwY917YOmTYfhhw?e=CeDxT9

 

When I try it in Edge, I get" Browsing for this user is not supported. Please delete your connection and sign in as a different user." When I search for that message on the internet, I get nothing - no results. I'm signed in so I don't even know what it means.

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

    Hi @DonV ,

    Could you please share more details about the error message on your side?

     

    Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. According to the OneDrive shared link that you provided, I found that the data within the Excel file has not be formatted as a Table:

    2.JPG

    Please consider format the data in your Excel file (OneDrive shared link) as a Table, then re-import data into your CDS Entity, then check if the issue is solved.

    Note: When importing data from a Excel file into a CDS Entity, please make sure the data in this Excel file has been formatted as a Table alreadly.

    More details about formatting Excel data as a Table, please check the following article:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/how-to-excel-tips

     

    More details about importing data from Excel into CDS Entity, please refer to the following article:

    https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/data-platform-import-export

     

    In addition, you could also consider take a try with the "Edit data in Excel" functionality in CDS Entity and the "Dataflow" functionality in PowerApps to import data from a Excel file into your CDS Entity, then check if the issue is fixed.

    "Edit data in Excel" function in CDS Entity

    Dataflow" functionality in PowerApps

     

    Best regards,

  • DonV Profile Picture
    50 on at

    Thank you. Now I'm getting a different error that's a little more helpful, even if it still doesn't make sense.

     

    I am signed into my environment and when I try that link ,I get "Browsing for this user is not supported. Please delete your connection and sign in as a different user. (Session ID: f6ac2312-bb99-4aba-a9f3-8957bb15e588)"

  • v-xida-msft Profile Picture
    on at

    Hi @DonV ,

    Do you use "Power Query" functionality in CDS to load data into a CDS Entity?

     

    When you use the "Browse" functionality to pick up Excel file within the Power Query panel to load data into your CDS Entity, it would browse and select files from your OneDrive for Business storage rather than your personal OneDrive storage.

    3.JPG

     

    So please make sure you have signed in OneDrive for Business with your Work or School account already rather than your Personal account in your browser.

     

    Also please consider clear cache of your browser, then sign in OneDrive for Business with your Work or School accont, then sign in your PowerApps again, try to load data from Excel into CDS Entity using "Power Query" functionality in CDS, check if the issue is solved.

     

    In addition, I think the above two alternative solutions could also achieve your needs. Please consider take a try with it.

     

    Best regards,

  • DonV Profile Picture
    50 on at

    Sorry, I don't consider the dataflow/Power Query "alternate solution" an acceptable answer. You provided acceptable links on how to use it but I don't want to deal with that much complexity when the Excel->CDS Entity tool is right there. I'd prefer that tool to work as expected. 

     

    I've attached screenshots of my environment and the user it's tied to. That is the work account. 

     

    I cleared cache; I even used an InPrivate window in Edge to try to make sure it was clean. All that said, it appears that I'm using the right user, therefore the error doesn't make sense.

     

    I'm a little confused how you "made a test on your side" as you said in the first post if that wasn't formatted as a table. That means it shouldn't have worked for you as well.

  • jamief Profile Picture
    2 on at

    If you're still having this problem (or for anybody else having it) -> what worked for me was to go to the Connections blade in https://make.powerapps.com.  I just went nuclear and blew everything away.  You might need to be a bit more refined in your approach.  Once I cleared out all the old connections (and fixed popup blocker problems when trying to reauthenticate) I could create a new connection to OneDrive for Business.  Not sure if that's a permanent solution for me, and I imagine for a lot of folks it's an unacceptable solution.  But it's a solution!

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @DonV

     

    Although not ideal, have you tried importing the Excel as a CSV format? If not, might be worth giving it a try.

    1. Open your Excel file, save as ".CSV"
    2. Then instead of selecting the "Import from Excel" button, click on "Import from CSV"
      2020-04-02_21-38-17.png
    3. You'll have to map the columns of the CSV to the fields of your entity.
      More info about import with CSV: https://docs.microsoft.com/en-us/dynamics365/sales-professional/import-data

     

     

    Hope this helps!

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi all,

    My own preference is to use the Import wizard for Dynamics 365.  https://crmbook.powerobjects.com/basics/data-management-in-microsoft-dynamics-crm/importing-data-in-microsoft-dynamics-crm/the-data-import-wizard-in-dynamics-crm/   It worked when other attempts failed.  It also is great for importing data with relationships that already exist.

  • cleve Profile Picture
    88 on at

    Don't know if you ever got this solved, but I ran into the EXACT same problem and this is what worked for me.

     

    From the Connections menu create a new connection to OneDrive. Authenticate as prompted. Then, when you go back to the Get Data menu under Data > Tables  it should work. Extremely counter-intuitive but it seems like it cannot create a connection on its own from the Get Data menu.

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 774 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 335 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 248

Last 30 days Overall leaderboard