SOLVED

Admin - Get List of New Flows : Error

%3CLINGO-SUB%20id%3D%22lingo-sub-837539%22%20slang%3D%22en-US%22%3EAdmin%20-%20Get%20List%20of%20New%20Flows%20%3A%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-837539%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20a%26nbsp%3B%20billing%20admin%2C%20I%20tried%20to%20use%20the%20flow%20template%20to%20get%20list%20of%20flows%20created%20from%20%5BStartDate%5D%20-%20%5BEndDate%5D.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20basic%20auth%20and%20gave%20credentials.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22fl-EditableLabel-label%22%3EI%20get%20below%20error%3A%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22fl-EditableLabel-label%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22fl-EditableLabel-label%22%3E%7B%22odata.error%22%3A%7B%22code%22%3A%22%22%2C%22message%22%3A%7B%22lang%22%3A%22en-US%22%2C%22value%22%3A%22Resource%20not%20found%20for%20the%20segment%20'UnifiedAuditLog'.%22%7D%7D%7D%3C%2FDIV%3E%3CDIV%20class%3D%22fl-EditableLabel-label%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22fl-EditableLabel-label%22%3EI%20tried%20couple%20of%20other%20blog%20posts%2C%20it%20went%20no%20where.%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22fl-EditableLabel-label%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22fl-EditableLabel-label%22%3EI%20followed%20this%20article%20as%20well%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fflow.microsoft.com%2Fen-us%2Fblog%2Faccessing-office-365-security-compliance-center-logs-from-microsoft-flow%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fflow.microsoft.com%2Fen-us%2Fblog%2Faccessing-office-365-security-compliance-center-logs-from-microsoft-flow%2F%3C%2FA%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fl-EditableLabel-label%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22fl-EditableLabel-label%22%3EAny%20idea%3F%20Looking%20for%20some%20suggestions.%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22fl-EditableLabel-label%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22fl-EditableLabel-label%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F130154i7AE69E6FA51FE43A%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_0.png%22%20title%3D%22clipboard_image_0.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-837539%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharepointOnline%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-846642%22%20slang%3D%22en-US%22%3ERe%3A%20Admin%20-%20Get%20List%20of%20New%20Flows%20%3A%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-846642%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F383756%22%20target%3D%22_blank%22%3E%40amalwayscharan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJust%20a%20couple%20of%20ideas%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ea)%20Could%20you%20check%20that%20Unified%20Audit%20Log%20is%20enabled%20in%20your%20tenant%3F%20You%20can%20find%20some%20information%20on%20how%20to%20enable%20it%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice365%2Fsecuritycompliance%2Fturn-audit-log-search-on-or-off%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice365%2Fsecuritycompliance%2Fturn-audit-log-search-on-or-off%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eb)%20Maybe%20you%20have%20to%20ask%20for%20some%20permissions.%20In%20fact%2C%20you%20need%20%22%3CSPAN%3EView-Only%20Audit%20Logs%22%20role%20permission%2C%20assigned%20through%20the%20Exchange%20Admin%20Center.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ec)%20If%20it%20is%20enabled%2C%20then%20you%20should%20review%20the%20URL%20you%20are%20calling%20to%20get%20the%20results.%20I%20tested%20the%20following%20one%20and%20it%20is%20working%20on%20my%20tenant%3A%26nbsp%3B%3CEM%3E%3CA%20href%3D%22https%3A%2F%2Foutlook.office365.com%2Fpsws%2Fservice.svc%2FUnifiedAuditLog%3FStartDate%3D07%2F11%2F2019%26amp%3BEndDate%3D09%2F01%2F2019%26amp%3BOperations%3DCreateFlow%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Foutlook.office365.com%2Fpsws%2Fservice.svc%2FUnifiedAuditLog%3FStartDate%3D07%2F11%2F2019%26amp%3BEndDate%3D09%2F01%2F2019%26amp%3BOperations%3DCreateFlow%3C%2FA%3E%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20it%20helps!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-847098%22%20slang%3D%22en-US%22%3ERe%3A%20Admin%20-%20Get%20List%20of%20New%20Flows%20%3A%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-847098%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F131856%22%20target%3D%22_blank%22%3E%40Ferran%20Chopo%20Garcia%3C%2FA%3E%26nbsp%3BThank%20you%20for%20the%20reply.%20I'll%20check%20with%20sysAdmin%20team%2C%20I'm%20positive%20this%20might%20be%20the%20issue.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

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. 
 
 
Any idea? Looking for some suggestions. 
 
clipboard_image_0.png
2 Replies
best response confirmed by amalwayscharan (Occasional Contributor)
Solution

Hi @amalwayscharan 

 

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/20...

 

Hope it helps!

 

 

@Ferran Chopo Garcia Thank you for the reply. I'll check with sysAdmin team, I'm positive this might be the issue.