Notifications
Announcements
Hi
I am trying to retrieve audit history of certain data from Dynamics 365 using a Microsoft Flow.
My HttpRequest action is as below and error is shown as below, could you advise me what am I missing please?
Error:
Thanks
vik
hi @arjunmusuvathy shure is because you need a complete url please fill the blank spaces before and after eq with %20, and test
Hi @arjunmusuvathy,
You should add two single quotes on both sides of dynamic content, for example:
filter=_objectid_value eq '15185'
Best Regards,Community Support Team _ Lin TuIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@ChristianAbata Thanks for you reply.
I have amended the URL as per your comment and removed the blank spaces, but it is still showing the same error.
When I type in the URL below in a browser I can see the records in the endpoint.
@ChristianAbata Any other advise please?
Vik
shure @arjunmusuvathy please follow the @v-litu-msft sugestion try with this
add quotes '15185'
Hi @arjunmusuvathy
Try @ChristianAbata suggestion first.
If that doesn't work try without the single quotes.
May I ask you why you using HTTP Request to access the audit records
CDS connector List could do the same job?
Set your filter query for the above.
@v-litu-msft @ChristianAbata
I have tried adding quotes to dynamic content and it still errors. Any advice please?
@abm I am using httprequest as I want to retrieve and delete audit logs.
CDS - audit logs retrieval, deletion is not working I have tried.
Yes I can see there is a restriction in deleting the audit logs via CDS connector.
Why not try to use the CDS connector for getting the List records and use HTTP request to delete?
Hi Vikram,
I did tried the following:
I am getting the following error:
Do you need any further help in this? If the below response was useful please mark it as accepted solution as this will help others in community when they looking for solutions.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 525 Super User 2025 Season 2
Tomac 324 Moderator
abm abm 232 Most Valuable Professional