[Automation - BUG] Not able to open cloudflows console to add for metering in ASM
maheshnav opened this issue · 8 comments
Describe the issue
Not able to open cloudflows console to add for metering in all Satellite environments > Auto Solution Manager console ....
GetDataverseSolutionArtifacts.Run failed: { "error": { "code": 502, "source": "unitedstates-002.azure-apim.net", "clientRequestId": "33c162d3-7305-44a2-aac5-ebf93b94e700", "message": "BadGateway", "innerError": { "error": { "code": "NoResponse", "message": "The server did not receive a response from an upstream server. Request tracking id '08585197119473183820491215182CU55'." } } } }
Expected Behavior
It should open solution and display exiting cloud flows to add to metering them.
What component are you experiencing the issue with?
Automation Solution Manager
What solution version are you using?
April 2023
What app or flow are you having the issue with?
All Satellite environment >ASM console
Steps To Reproduce
- Open ASM console for respective Satellite Environment
- Open existing metered solution or add new solution for metering.
- it will open solution to see cloud flow and add to metering, however no flows visible and throws above error
Anything else?
No response
Getting below error while running "GetDataverseSolutionArtifacts" cloud flow from all satellite environments...
We couldn't able to retrive solution components from table 'msdyn_solutioncomponentsummary'. Original exception message:Entity 'systemuser' With Id = e4fcf585-9fa7-ed11-aad1-00224805c3e1 Does Not Exist
As per above error or logs, no user id exists with e4fcf585-9fa7-ed11-aad1-00224805c3e1 in stystemuser Dataverse.
Could you please verify the system user id of application user in satellite environment and update to environment variable autocoe_SolutionManagerArtifactsReadUserID. And then please turn off and turn on for cloud flow "GetDataverseSolutionArtifacts" to read updated userid from environment variables before try to meter the solution.
Please find the below steps to find application user id and update to environment variable
Screen shot of system user table in power apps dataverse
power apps>> Tables>> search with "user"
screen shot of system user table data and find your application user in this table
copy system user Id and update for satellite solution Environmen variable (Solution Manager Artifacts Read User Id) like below screen shot
After that please turn off and turn on for cloud flow "GetDataverseSolutionArtifacts" to read updated user id from environment variables before try to meter the solution.
Thanks for the suggestions. It worked for me. Now back to normal once again. This was observed on the April kit since the env variable requirement as you mentioned was not in earlier release I think.
As per your above comment, Now it is working fine so we are closing the issue.
This needs to be added to the Automation Kit documentation! I've spent many hours trying to figure this out, and just found this solution. I needed to look for the user called "#" and then the name of the Azure App that I created and added to the environment.
@maheshnav This has been fixed in the latest release.