-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Automation - BUG] Get Solution Artifacts Custom Action seems to have a hardcoded user in it #407
Comments
I also experienced the same. You need to follow this instruction to create a Microsoft Entra app. Then, create an application user inside Dataverse, per satellite environment. Get the UserID from the Dataverse table named "User". You may either update the environment variable "Solution Manager Artifacts Read User Id" to use the UserID of the MS Entra app or delete the Satellite Solution then import it again. |
That did it. Thank you!
Bart Sneary
Innovation Hub Architect | 952-837-4560 W or 507-403-3088 M
***@***.******@***.***>
3601 West 76th St, Suite 600, Edina, MN 55435 | Microsoft Innovation Hub<https://www.microsoft.com/en-us/hub/>
***@***.***
From: McKiko030 ***@***.***>
Sent: Monday, July 1, 2024 4:58 AM
To: microsoft/powercat-automation-kit ***@***.***>
Cc: Bart Sneary ***@***.***>; Author ***@***.***>
Subject: Re: [microsoft/powercat-automation-kit] [Automation - BUG] Get Solution Artifacts Custom Action seems to have a hardcoded user in it (Issue #407)
I also experienced the same.
You need to follow this instruction to create a Microsoft Entra app.
https://learn.microsoft.com/en-us/power-automate/guidance/automation-kit/setup/satellite#create-a-microsoft-entra-app-registration-to-connect-to-dataverse-web-api
Then, create an application user inside Dataverse, per satellite environment.
https://learn.microsoft.com/en-us/power-automate/guidance/automation-kit/setup/satellite#create-an-application-user-inside-dataverse
Get the UserID from the Dataverse table named "User".
You may either update the environment variable "Solution Manager Artifacts Read User Id" to use the UserID of the MS Entra app or delete the Satellite Solution then import it again.
-
Reply to this email directly, view it on GitHub<#407 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJ645VCHV2XR6GNYU5XVRIDZKER4HAVCNFSM6AAAAABJSDSD7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJZG4ZDOOBZHA>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Hi Bart, By any chance, have you also experienced this issue? #408 |
I wasn't sure so I triggered one this morning at 6:49am. I see this in that satellite environment for runs in the session trace arena (3 triggered runs). I need to troubleshoot why the runs are failing, but it appears that I am experiencing that issue at first glance...
***@***.***
Bart Sneary
Innovation Hub Architect | 952-837-4560 W or 507-403-3088 M
***@***.******@***.***>
3601 West 76th St, Suite 600, Edina, MN 55435 | Microsoft Innovation Hub<https://www.microsoft.com/en-us/hub/>
***@***.***
From: McKiko030 ***@***.***>
Sent: Tuesday, July 9, 2024 3:38 AM
To: microsoft/powercat-automation-kit ***@***.***>
Cc: Bart Sneary ***@***.***>; Author ***@***.***>
Subject: Re: [microsoft/powercat-automation-kit] [Automation - BUG] Get Solution Artifacts Custom Action seems to have a hardcoded user in it (Issue #407)
Hi Bart,
By any chance, have you also experienced this issue? #408<#408>
-
Reply to this email directly, view it on GitHub<#407 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJ645VBNCDCP7LN7XUTOK5LZLOOPTAVCNFSM6AAAAABJSDSD7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJWHE2TSNBVGY>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Describe the issue
In the Satellite solution, when attempting to mark a flow as one to meter, it calls a Cloud Flow that attempts to run a Dataverse action that will retrieve the solution components. When making that call, it always errors with a message that systemuser with Id = e4fcf585-9fa7-ed11-aad1-00224805c3e1 Does Not Exist. Since I'm authenticated to the Dataverse connector as a user that exists and is different from that, my assumption is the action itself has a user hard coded somehow. Not sure how to move forward.


Expected Behavior
Action would run under the context of the connector's logged on user or there would be instructions for how to set up the right application user to perform this action.
What component are you experiencing the issue with?
Cloud flows
What solution version are you using?
1.0.20230908.4 (latest satellite)
What app or flow are you having the issue with?
Get Dataverse Solution Artifacts
Steps To Reproduce
Attempt to use it (it's called from the Automation Solution Manager App) by trying to meter a flow.
Anything else?
No response
AB#3634
The text was updated successfully, but these errors were encountered: