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

Community site session details

Session Id : 8eCWvOXetS2doF1lDkOWjQ
Power Apps - Microsoft Dataverse
Unanswered

Authentication error when opening an entity in excel

Like (0) ShareShare
ReportReport
Posted on 22 Jan 2019 15:10:33 by Microsoft Employee

Hi all,

I'm trying to open a CDS entity in excel, using the "open in excel" function. While the connection is being established the Microsoft PowerApps Office Add-in asks me to log in with my CDS User Account. I sign in, using the same credentials, I used for PowerApps logon. However - it's not working. I just get an error message back, saying "An error was encountered while attempting to authenticate". 

This happens in Edge and Chrome the same.

Any idea, what might cause the trouble?

 

Thank you

Thorsten

  • TScholl Profile Picture
    Microsoft Employee on 23 Jan 2019 at 14:43:12
    Re: Authentication error when opening an entity in excel

    Hi @v-monli-msft

     

    I just tried to open the data in CDS and came across another error message, that might be related to the problem. When click on "Data" in the related entity I get the following message 

      
    The entity could not be fetched: Principal user (Id=123cf456-1ab2-c987-a12b4f-000d3a1ccf10, type=8, accessMode= 0, roleCount=2, privilegeCount=438, is missing prvReadmsdyn_solutioncomponentsummary privilege (Id=ff12d34b-1234-5c6c-b789-a123a45f0b0b.
     
    Kind regards
    Thorsten
  • TScholl Profile Picture
    Microsoft Employee on 23 Jan 2019 at 14:31:11
    Re: Authentication error when opening an entity in excel

    Hi @v-monli-msft

    thank you Mona, for your kind response. Right, both accounts are the same. When trying to open an entity in excel, the excel application starts up. Usually the system would recognize me, but now I need to sign in. I enter the same credentials as in PowerApps and get the error even before I'm asked for a password.

    I tried the same process with some other credentials in another environment (Office Trial and P2 Trial) which works fine.

    Kind regards

     

    Thorsten

  • v-monli-msft Profile Picture
    on 23 Jan 2019 at 11:17:00
    Re: Authentication error when opening an entity in excel

    Hi @TScholl,

     

    Did you mean that you can use the CDS normally in PowerApps site, but in excel, using the same account to access PowerApps Office Add-in got the error? 

     

    What is the account that you used in Excel application? Can you try to change it to the same account that you use for PowerApps?

    Capture.JPG

     

    Regards,

    Mona

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Featured topics

Loading complete