# Microsoft Activity Log

**URL:** <https://community.postman.com/t/microsoft-activity-log/59246>\
**Category:** Help Hub\
**Tags:** request, request-params\
**Created:** [March 26, 2024, 8:43am UTC](https://community.postman.com/t/microsoft-activity-log/59246 "2024-03-26T08:43:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![p4la](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@p4la](https://community.postman.com/u/p4la)\
**Post date:** [March 26, 2024, 8:43am UTC](https://community.postman.com/t/microsoft-activity-log/59246/1 "2024-03-26T08:43:12Z")

</div>

Hi,

I received a request from a client stating, “When users perform Sensitivity Label Downgrade, they should send us an email.” I am considering achieving this using Power Automate. However, I’m having trouble filtering within the URI or in the queries section of the HTTP action. I will provide both a screenshot and the text of the HTTP query I’ve attempted. If anyone has experience with this type of log filtering or has alternative methods, I would appreciate the assistance.

URI: [https://DOMAIN.xx2.portal.cloudappsecurity.com/api/v1/activities/?$filter=contains(rawOperationName,‘SensitivityLabel’)](https://DOMAIN.xx2.portal.cloudappsecurity.com/api/v1/activities/?$filter=contains(rawOperationName,'SensitivityLabel'))

Thank you.

 ![Screenshot_1](https://us1.discourse-cdn.com/getpostman/original/3X/4/c/4cce61ed8aee8def472dc38cca5e31eea760e22c.png)

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [March 26, 2024, 9:40am UTC](https://community.postman.com/t/microsoft-activity-log/59246/2 "2024-03-26T09:40:53Z")

</div>

Hey @p4la 👋

Welcome to the Postman community :postman:

You’re not using Postman for this or sharing the APIs documentation for anyone to suggest how this could be achieved using Postman.

Can you provide more details and context to allow people to help you, please.

---

<div class="post-metadata">

**Author:** ![p4la](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@p4la](https://community.postman.com/u/p4la)\
**Post date:** [March 26, 2024, 9:59am UTC](https://community.postman.com/t/microsoft-activity-log/59246/3 "2024-03-26T09:59:40Z")

</div>

Hello @danny-dainton,

I’m actually trying the same parameters within Postman. That’s why I wanted to share it here. I’m sharing the screenshot of the Postman I used. I’m not quite sure what kind of information needs to be shared, so any guidance would be appreciated.

 ![Screenshot_1](https://us1.discourse-cdn.com/getpostman/original/3X/c/3/c3ced22fe029667bdb8322f70f92f148efc2dc4d.png)

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [March 26, 2024, 10:13am UTC](https://community.postman.com/t/microsoft-activity-log/59246/4 "2024-03-26T10:13:39Z")

</div>

It wasn’t clear from your original question that you were using Postman 😅

I don’t know that API and I’m sure many others on the forum alse don’t know it either, unless there is some level of documentation for the API that we can see or follow - It’s difficult to point to a particular _thing_.

How do you currently know that the URL _should_ be structured in that way, are you following a guide or some instructions about how to use the API?

---

<div class="post-metadata">

**Author:** ![p4la](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@p4la](https://community.postman.com/u/p4la)\
**Post date:** [March 26, 2024, 10:33am UTC](https://community.postman.com/t/microsoft-activity-log/59246/5 "2024-03-26T10:33:22Z")

</div>

I’ve seen in forums that they use this API or a similar one in this way. I couldn’t find much in their documentation. I’m leaving their documents below.

[REST API - Microsoft Defender for Cloud Apps | Microsoft Learn](https://learn.microsoft.com/en-us/defender-cloud-apps/api-introduction#filters)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [April 25, 2024, 10:34am UTC](https://community.postman.com/t/microsoft-activity-log/59246/6 "2024-04-25T10:34:18Z")

</div>

Closed on April 25, 2024, 10:34am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
