Forum Discussion
amalwayscharan
Sep 04, 2019Copper Contributor
Admin - Get List of New Flows : Error
Hello,
I'm a billing admin, I tried to use the flow template to get list of flows created from [StartDate] - [EndDate].
I tried basic auth and gave credentials.
I get below error:
{"odata.error":{"code":"","message":{"lang":"en-US","value":"Resource not found for the segment 'UnifiedAuditLog'."}}}
I tried couple of other blog posts, it went no where.
I followed this article as well, https://flow.microsoft.com/en-us/blog/accessing-office-365-security-compliance-center-logs-from-microsoft-flow/
Any idea? Looking for some suggestions.
Just a couple of ideas:
a) Could you check that Unified Audit Log is enabled in your tenant? You can find some information on how to enable it here: https://docs.microsoft.com/en-us/office365/securitycompliance/turn-audit-log-search-on-or-off
b) Maybe you have to ask for some permissions. In fact, you need "View-Only Audit Logs" role permission, assigned through the Exchange Admin Center.
c) If it is enabled, then you should review the URL you are calling to get the results. I tested the following one and it is working on my tenant: https://outlook.office365.com/psws/service.svc/UnifiedAuditLog?StartDate=07/11/2019&EndDate=09/01/2019&Operations=CreateFlow
Hope it helps!
- Ferran-ChopoBrass Contributor
Just a couple of ideas:
a) Could you check that Unified Audit Log is enabled in your tenant? You can find some information on how to enable it here: https://docs.microsoft.com/en-us/office365/securitycompliance/turn-audit-log-search-on-or-off
b) Maybe you have to ask for some permissions. In fact, you need "View-Only Audit Logs" role permission, assigned through the Exchange Admin Center.
c) If it is enabled, then you should review the URL you are calling to get the results. I tested the following one and it is working on my tenant: https://outlook.office365.com/psws/service.svc/UnifiedAuditLog?StartDate=07/11/2019&EndDate=09/01/2019&Operations=CreateFlow
Hope it helps!
- amalwayscharanCopper Contributor
Ferran-Chopo Thank you for the reply. I'll check with sysAdmin team, I'm positive this might be the issue.