<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How can I get Membership information? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-Membership-information/m-p/647684#M224155</link>
    <description>&lt;P&gt;Hi All&lt;/P&gt;
&lt;P&gt;i have an unified group(i.e office365 unified group) created from Office365.&amp;nbsp; i want to know membership details i.e who has added/removed users to this group. This group will also be visible in Azure AD. i can check audit logs in Azure AD and it shows only for a month. i am trying below splunk query to fetch membership information from both Azure AD and office365 but i am not getting output. &lt;A href="mailto:ug@contoso.com" target="_blank" rel="noopener"&gt;ug@contoso.com&amp;nbsp;&lt;/A&gt;is my group&amp;nbsp; name&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sourcetype=azure*:management:activity (Operation="*Change user*" OR Operation="*Update user*") ObjectId="*ug@contoso.com*" (UserId!="Certificate" AND UserId!="ServicePrincipal*" AND UserId!="Sync*") (ModifiedProperties{}.NewValue!=" " AND ModifiedProperties{}.OldValue!=" ")
| rename ModifiedProperties{}.NewValue AS ModAdd
| rename ModifiedProperties{}.OldValue AS ModRem
| rename UserId AS "Actioned By" 
| rename Operation AS "Action" 
| rename ObjectId AS "Member"
| sort -_time 
| table _time, ModAdd, ModRem, "Action", Member, "Actioned By"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jun 2023 05:45:37 GMT</pubDate>
    <dc:creator>risingflight143</dc:creator>
    <dc:date>2023-06-22T05:45:37Z</dc:date>
    <item>
      <title>How can I get Membership information?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-Membership-information/m-p/647684#M224155</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;
&lt;P&gt;i have an unified group(i.e office365 unified group) created from Office365.&amp;nbsp; i want to know membership details i.e who has added/removed users to this group. This group will also be visible in Azure AD. i can check audit logs in Azure AD and it shows only for a month. i am trying below splunk query to fetch membership information from both Azure AD and office365 but i am not getting output. &lt;A href="mailto:ug@contoso.com" target="_blank" rel="noopener"&gt;ug@contoso.com&amp;nbsp;&lt;/A&gt;is my group&amp;nbsp; name&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sourcetype=azure*:management:activity (Operation="*Change user*" OR Operation="*Update user*") ObjectId="*ug@contoso.com*" (UserId!="Certificate" AND UserId!="ServicePrincipal*" AND UserId!="Sync*") (ModifiedProperties{}.NewValue!=" " AND ModifiedProperties{}.OldValue!=" ")
| rename ModifiedProperties{}.NewValue AS ModAdd
| rename ModifiedProperties{}.OldValue AS ModRem
| rename UserId AS "Actioned By" 
| rename Operation AS "Action" 
| rename ObjectId AS "Member"
| sort -_time 
| table _time, ModAdd, ModRem, "Action", Member, "Actioned By"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 05:45:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-Membership-information/m-p/647684#M224155</guid>
      <dc:creator>risingflight143</dc:creator>
      <dc:date>2023-06-22T05:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Membership information</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-Membership-information/m-p/647718#M224164</link>
      <description>&lt;P&gt;To obtain help from volunteers, you will first need to post sample data (anonymize as needed) that can support your belief that the search &lt;EM&gt;should&lt;/EM&gt; return output. &amp;nbsp;If the logic is not obvious, you also need to explain your logic between raw data and your expected output.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 07:26:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-Membership-information/m-p/647718#M224164</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2023-06-21T07:26:03Z</dc:date>
    </item>
  </channel>
</rss>

