WaelHamze / dyn365-ce-vsts-tasks

VSTS Extension for Dynamics 365 Customer Engagement
https://marketplace.visualstudio.com/items?itemName=WaelHamze.xrm-ci-framework-build-tasks
GNU General Public License v3.0
115 stars 54 forks source link

Solution import Failed. Error: CanvasApp import: FAILURE: Code: GraphUserDetailNotFound #227

Closed kashanico closed 3 years ago

kashanico commented 3 years ago

My solution import is failing with error: Import-XrmSolution : Solution import Failed. Error: CanvasApp import: FAILURE: Code: GraphUserDetailNotFound Message: The user '00000000-0000-0000-0000-000000000000' was not found in Graph. Client Request Id: .

But I can do this import manually via the UI with no issues. There is a CanvasApp in my solution, and it works and can import manually with no issues. I am using a ClientSecret connection string to connect to the environment.

I saw some forums talking about clientsecret connection does not work with CanvasApps. https://powerusers.microsoft.com/t5/Building-Power-Apps/PowerApps-Build-Tools-Import-Solution-issue/td-p/602639 https://github.com/microsoft/PowerApps-Samples/issues/106

But Mine returns 00000000-0000-0000-0000-000000000000 so not sure if its related

kashanico commented 3 years ago

Turns out this is a limitation of power platform right now. MS support advised that this is a know issue when trying to import a solution with a canvas app, when you are authenticating with SPN or ClientID/Secret. Advised to use user creds for authentication.