Skip to content
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

[CoE Starter Kit - BUG] Getting error in Admin | Audit Logs | Sync Audit Logs (V2) flow - RetryLogic-ListAuditLogContent' #8984

Closed
1 task done
bhupendra14 opened this issue Sep 18, 2024 · 6 comments
Assignees
Labels
bug Something isn't working coe-starter-kit CoE Starter Kit issues

Comments

@bhupendra14
Copy link

Does this bug already exist in our backlog?

  • I have checked and confirm this is a new bug.

Describe the issue

I have done CoE upgrade for Aug month and since that time I'm getting this error in " Admin | Audit Logs | Sync Audit Logs (V2)
" flow.

InvalidTemplate. Unable to process template language expressions for action 'RetryLogic-ListAuditLogContent' at line '1' and column '12249': 'The template language expression 'equals(outputs('ListAuditLogContent')['statusCode'], 200)' cannot be evaluated because property 'statusCode' cannot be selected. Please see https://aka.ms/logicexpressions for usage details.'.

image

Expected Behavior

No response

What solution are you experiencing the issue with?

Audit Log

What solution version are you using?

4.37

What app or flow are you having the issue with?

Admin | Audit Logs | Sync Audit Logs (V2)

What method are you using to get inventory and telemetry?

Cloud flows

Steps To Reproduce

No response

Anything else?

No response

@bhupendra14 bhupendra14 added bug Something isn't working coe-starter-kit CoE Starter Kit issues labels Sep 18, 2024
@Jenefer-Monroe
Copy link
Collaborator

Hello are you using plain text or Azure Key Vault for your secret? Can you please go validate that the secret is still valid and that you have entered it in the environment variables? Also perhaps turn the flow off and back on to ensure it gets any env var changes.

@Jenefer-Monroe Jenefer-Monroe self-assigned this Sep 18, 2024
@bhupendra14
Copy link
Author

@Jenefer-Monroe Hi, I have checked secret is still valid, also tried to turn off and turn on the flow. No success yet.

@Jenefer-Monroe
Copy link
Collaborator

Which secret type are you using?

@bhupendra14
Copy link
Author

bhupendra14 commented Sep 20, 2024

@Jenefer-Monroe plain text, also we haven't created any Key Vault.

@Jenefer-Monroe
Copy link
Collaborator

  1. Go to your app registration and validate that you have the correct API permissions. Note that it requires application permissions not delegated.
    image

  2. Please be sure that you have entered the secret itself and not the secret id (the GUID). It’s a longer string with a larger character set than a GUID. This one has a tilda for example.
    image

  3. Validate that you have entered all the env variables
    image

  4. Turn the flows off and back on. Sometimes env vars get stuck in them with old values

  5. Validate that you have started the subscription

@Jenefer-Monroe
Copy link
Collaborator

closing out as no further action from starter kit team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working coe-starter-kit CoE Starter Kit issues
Projects
Status: Done
Development

No branches or pull requests

2 participants