<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Get Azure AD Last Login Date And Sign-In Activity	</title>
	<atom:link href="https://thesysadminchannel.com/get-azure-ad-last-login-date-and-sign-in-activity/feed/" rel="self" type="application/rss+xml" />
	<link>https://thesysadminchannel.com/get-azure-ad-last-login-date-and-sign-in-activity/</link>
	<description>Documenting My Life as a System Administrator</description>
	<lastBuildDate>Wed, 13 Dec 2023 20:34:10 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>
		By: Mongoose		</title>
		<link>https://thesysadminchannel.com/get-azure-ad-last-login-date-and-sign-in-activity/#comment-21909</link>

		<dc:creator><![CDATA[Mongoose]]></dc:creator>
		<pubDate>Wed, 13 Dec 2023 20:34:10 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=3276#comment-21909</guid>

					<description><![CDATA[Is there a way to find the last time a user signed on, regardless of when it was?  This was easy in an on-prem environment, but seems unavailable for Azure/Entra.  I would like a way to determine unused accounts.]]></description>
			<content:encoded><![CDATA[<p>Is there a way to find the last time a user signed on, regardless of when it was?  This was easy in an on-prem environment, but seems unavailable for Azure/Entra.  I would like a way to determine unused accounts.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mongoose		</title>
		<link>https://thesysadminchannel.com/get-azure-ad-last-login-date-and-sign-in-activity/#comment-21812</link>

		<dc:creator><![CDATA[Mongoose]]></dc:creator>
		<pubDate>Mon, 11 Dec 2023 20:28:35 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=3276#comment-21812</guid>

					<description><![CDATA[The Get-AzureAdAuditSigninLogs value is quite useless when attempting to determine user accounts that have not been used recently as this only goes back 30 days.  I would expect CreatedDateTime to return the date/time the account was created.  I can&#039;t tell what data is returned.  Users are listed multiple times and the date is always today.  This is useless.  I don&#039;t understand why Microsoft makes things so difficult these days.  For on-prem, this is easily obtained by a single command (Get-ADUser) and the information is complete and accurate.]]></description>
			<content:encoded><![CDATA[<p>The Get-AzureAdAuditSigninLogs value is quite useless when attempting to determine user accounts that have not been used recently as this only goes back 30 days.  I would expect CreatedDateTime to return the date/time the account was created.  I can&#8217;t tell what data is returned.  Users are listed multiple times and the date is always today.  This is useless.  I don&#8217;t understand why Microsoft makes things so difficult these days.  For on-prem, this is easily obtained by a single command (Get-ADUser) and the information is complete and accurate.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Simon		</title>
		<link>https://thesysadminchannel.com/get-azure-ad-last-login-date-and-sign-in-activity/#comment-17056</link>

		<dc:creator><![CDATA[Simon]]></dc:creator>
		<pubDate>Tue, 22 Aug 2023 11:52:23 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=3276#comment-17056</guid>

					<description><![CDATA[I seem to have dates going back three years... users with $null can be new users who have not logged on yet, and shared mailboxes (as it&#039;s the accessing users account that logs on to those).

Was longer retention of this introduced at some stage?]]></description>
			<content:encoded><![CDATA[<p>I seem to have dates going back three years&#8230; users with $null can be new users who have not logged on yet, and shared mailboxes (as it&#8217;s the accessing users account that logs on to those).</p>
<p>Was longer retention of this introduced at some stage?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nadim J		</title>
		<link>https://thesysadminchannel.com/get-azure-ad-last-login-date-and-sign-in-activity/#comment-11015</link>

		<dc:creator><![CDATA[Nadim J]]></dc:creator>
		<pubDate>Tue, 02 May 2023 17:27:32 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=3276#comment-11015</guid>

					<description><![CDATA[I wrote a similar thing but we are at the mercy of the MS servers for responding to queries. A query for 100 users has so far taken over 2 hours to run. An on-prem query for 100 users finishes in about 3 seconds.]]></description>
			<content:encoded><![CDATA[<p>I wrote a similar thing but we are at the mercy of the MS servers for responding to queries. A query for 100 users has so far taken over 2 hours to run. An on-prem query for 100 users finishes in about 3 seconds.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mike		</title>
		<link>https://thesysadminchannel.com/get-azure-ad-last-login-date-and-sign-in-activity/#comment-8924</link>

		<dc:creator><![CDATA[Mike]]></dc:creator>
		<pubDate>Tue, 07 Mar 2023 16:13:39 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=3276#comment-8924</guid>

					<description><![CDATA[Thank you for include John Snow, Tony Stark, and Buzz Lightyear. This working for me.]]></description>
			<content:encoded><![CDATA[<p>Thank you for include John Snow, Tony Stark, and Buzz Lightyear. This working for me.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: James McDonald		</title>
		<link>https://thesysadminchannel.com/get-azure-ad-last-login-date-and-sign-in-activity/#comment-6107</link>

		<dc:creator><![CDATA[James McDonald]]></dc:creator>
		<pubDate>Mon, 28 Nov 2022 07:01:15 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=3276#comment-6107</guid>

					<description><![CDATA[Sadly this will not work if you don&#039;t have a P1 / 2 Azure AD license:

Get-AzureADAuditSignInLogs : Error occurred while executing GetAuditSignInLogs
Code: Authentication_RequestFromNonPremiumTenantOrB2CTenant
Message: Neither tenant is B2C or tenant doesn&#039;t have premium license]]></description>
			<content:encoded><![CDATA[<p>Sadly this will not work if you don&#8217;t have a P1 / 2 Azure AD license:</p>
<p>Get-AzureADAuditSignInLogs : Error occurred while executing GetAuditSignInLogs<br />
Code: Authentication_RequestFromNonPremiumTenantOrB2CTenant<br />
Message: Neither tenant is B2C or tenant doesn&#8217;t have premium license</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sonic		</title>
		<link>https://thesysadminchannel.com/get-azure-ad-last-login-date-and-sign-in-activity/#comment-4191</link>

		<dc:creator><![CDATA[Sonic]]></dc:creator>
		<pubDate>Mon, 10 Oct 2022 17:58:47 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=3276#comment-4191</guid>

					<description><![CDATA[is there a way to get the same but for &quot;non-interactive logon&quot;?]]></description>
			<content:encoded><![CDATA[<p>is there a way to get the same but for &#8220;non-interactive logon&#8221;?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Egor		</title>
		<link>https://thesysadminchannel.com/get-azure-ad-last-login-date-and-sign-in-activity/#comment-2094</link>

		<dc:creator><![CDATA[Egor]]></dc:creator>
		<pubDate>Fri, 22 Jul 2022 18:49:49 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=3276#comment-2094</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://thesysadminchannel.com/get-azure-ad-last-login-date-and-sign-in-activity/#comment-1684&quot;&gt;Cory&lt;/a&gt;.

That is correct. If there&#039;s been no activity in the last 30 days, this will return $null. A better way would be calling https://graph.microsoft.com/beta/users/user@example.org?$select=displayName,signInActivity]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://thesysadminchannel.com/get-azure-ad-last-login-date-and-sign-in-activity/#comment-1684">Cory</a>.</p>
<p>That is correct. If there&#8217;s been no activity in the last 30 days, this will return $null. A better way would be calling <a href="https://graph.microsoft.com/beta/users/user@example.org?$select=displayName,signInActivity" rel="nofollow ugc">https://graph.microsoft.com/beta/users/user@example.org?$select=displayName,signInActivity</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Hanisha		</title>
		<link>https://thesysadminchannel.com/get-azure-ad-last-login-date-and-sign-in-activity/#comment-2035</link>

		<dc:creator><![CDATA[Hanisha]]></dc:creator>
		<pubDate>Wed, 20 Jul 2022 10:12:49 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=3276#comment-2035</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://thesysadminchannel.com/get-azure-ad-last-login-date-and-sign-in-activity/#comment-1407&quot;&gt;Flávio Neto&lt;/a&gt;.

Please check if the users in the CSV file have any Sign in logs available in the last 30 days. 
I had the similar issue and realized that there were no Sign in logs for the users I tried in the last 30 days.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://thesysadminchannel.com/get-azure-ad-last-login-date-and-sign-in-activity/#comment-1407">Flávio Neto</a>.</p>
<p>Please check if the users in the CSV file have any Sign in logs available in the last 30 days.<br />
I had the similar issue and realized that there were no Sign in logs for the users I tried in the last 30 days.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Cory		</title>
		<link>https://thesysadminchannel.com/get-azure-ad-last-login-date-and-sign-in-activity/#comment-1684</link>

		<dc:creator><![CDATA[Cory]]></dc:creator>
		<pubDate>Fri, 08 Jul 2022 14:09:42 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=3276#comment-1684</guid>

					<description><![CDATA[I believe this only goes back 30 days?]]></description>
			<content:encoded><![CDATA[<p>I believe this only goes back 30 days?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
