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 / Import Solution in CDS...
Power Apps
Unanswered

Import Solution in CDS containing canvas app fails for an application user

(0) ShareShare
ReportReport
Posted on by 49

Hi,

 

I'm facing an annoying issue,

We have been moving server based interactions with CDS to a client id/secret auth flows, which includes our devops CI/CD pipelines.

However, if I try to import a solution containing a canvas app, an exception is thrown by the import solution step with the following output:

 

System.AggregateException: One or more errors occurred. ---> Microsoft.Crm.CrmException: Code: GraphUserDetailNotFound Message: Kan de gebruiker 3c8747a5-5beb-41e9-b7b0-cafa92b4f3cd niet vinden in Graph.

 

For non dutch speaking people, the last part says, "can't find user 3c8747a5-5beb-41e9-b7b0-cafa92b4f3cd in Graph". Also no idea why this part is in dutch btw.

 

Anyway, I'm guessing the import fails because the application user isn't a office365 user and that's why the graph api can't find it, but to me it seems you should be able to do this with an application user.

 

Anybody know a way around this issue which doesn't include swapping back to username/password auth flows?

I have the same question (0)
  • RajYRaman Profile Picture
    270 on at

    What version of Power Apps Build Tools are you using? You should be able to use Application User as per https://marketplace.visualstudio.com/items?itemName=microsoft-IsvExpTools.PowerApps-BuildTools, so it might be a bug. Do you get the same error if you try to manually import the solution as the application user?

  • Joeri Stroy Profile Picture
    49 on at

    Hi @rajyraman

     

    The issue is not a bug with the powerapp tools it self, import of any other solution works just fine with the app user.

     

    The problem is the fact that the solution contains a Canvas App, and I'm guessing the Canvas App import expects a O365 user with the appropriate permissions.

     

    Manual import or using Wael Hamze's tools don't change the result.

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

#2
Kalathiya Profile Picture

Kalathiya 321

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 311 Super User 2025 Season 2

Last 30 days Overall leaderboard