microsoft / powercat-automation-kit

Other
70 stars 19 forks source link

Flow Session trace and Audit Log section is empty in main solution #397

Open ArathyLakshmi1234 opened 7 months ago

ArathyLakshmi1234 commented 7 months ago

Describe the issue

In our main solution flow session trace and audit log is empty. The satellite environment has flow session records in dataverse. But flow session trace table is empty. When does flow session trace gets populated and how ? What is the source of Audit log under monitoring tab in main solution ? Why is it empty for us ?

Expected Behavior

I expected flow session trace and audit log to populate respective values of all satellite environments in main solution.

What component are you experiencing the issue with?

Automation Solution Manager

What solution version are you using?

February 2024

What app or flow are you having the issue with?

Automation main solution

Steps To Reproduce

https://github.com/microsoft/powercat-automation-kit/releases/tag/AutomationKit-January2024-HF3

Anything else?

No response

AB#2716

praveen-pulagam-gl commented 6 months ago

@ArathyLakshmi1234 Please make sure all the environment variables are properly configured and the flow 'Sync Flow Session Trace (Flow Session Trigger)' in satellite environment is turned on

ArathyLakshmi1234 commented 6 months ago

@ArathyLakshmi1234 Please make sure all the environment variables are properly configured and the flow 'Sync Flow Session Trace (Flow Session Trigger)' in satellite environment is turned on

Hi Praveev

Thanks for looking into this issue.

We verified all environment variables in satellite environments and configured during solution import. Looks like the solution base what we have is different from the video we are following to configure.

Could you please help with the latest stable solution and help video to configure it ? Much appreciate any help as currently this is a blocker for us.

Thanks Arathy

ArathyLakshmi1234 commented 6 months ago

Could you please share the latest stable solution of Automation CoE tool kit along with latest help video ? We are not seeing the environment variables in the April 2024 solution. https://github.com/microsoft/powercat-automation-kit/pull/399

KVS-AutomationCoE-ClientID

KVS-AutomationCoE-TenantID

KVS-AutomationCoE-Secret

https://learn.microsoft.com/en-us/power-automate/guidance/automation-kit/setup/satellite

Thanks for helping on it.

Regards

Arathy

ArathyLakshmi1234 commented 6 months ago

@praveen-pulagam-gl - Any help much appreciated.

praveen-pulagam-gl commented 6 months ago

@ArathyLakshmi1234 Apologies for the delayed response. Dependency on the Azure Key Vault has been removed from April 2023 releases. So, Azure Key Vault is no longer required as a prerequisite. We were not able to reproduce this on our end. We suspect this may be related to misconfigured 'Environment Variables' or the flows might not be metered. You could follow the below links

AMurray161 commented 5 months ago

@ArathyLakshmi1234, did you ever resolve your issue? Are your flows clouds flows? From my brief understanding, the flow session trace table get triggered when a desktop flow runs or the cloud flow triggers a PAD. This is a big limitation for us in terms of using the kit and looking to see if anyone has found a reasonable workaround to populate the flow session trace table for all flows.