<?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: Add an Azure AD group to the local administrators group with Microsoft Intune	</title>
	<atom:link href="https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/feed/" rel="self" type="application/rss+xml" />
	<link>https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/</link>
	<description>Intune, Windows, Office 365, Microsoft 365, Azure, Automation</description>
	<lastBuildDate>Thu, 14 Aug 2025 14:11:15 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Gertjan Jongeneel		</title>
		<link>https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-255630</link>

		<dc:creator><![CDATA[Gertjan Jongeneel]]></dc:creator>
		<pubDate>Thu, 14 Aug 2025 14:11:15 +0000</pubDate>
		<guid isPermaLink="false">https://inthecloud247.com/?p=5175#comment-255630</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-207573&quot;&gt;Wichur&lt;/a&gt;.

See https://docs.azure.cn/en-us/entra/identity/devices/assign-local-admin. Microsoft mentions the following in regards to the &#039;Manage Additional local administrators on all Microsoft Entra joined devices&#039; option within Device Settings:

Microsoft Entra groups deployed to a device with this policy don&#039;t apply to remote desktop connections. To control remote desktop permissions for Microsoft Entra joined devices, you need to add the individual user&#039;s SID to the appropriate group.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-207573">Wichur</a>.</p>
<p>See <a href="https://docs.azure.cn/en-us/entra/identity/devices/assign-local-admin" rel="nofollow ugc">https://docs.azure.cn/en-us/entra/identity/devices/assign-local-admin</a>. Microsoft mentions the following in regards to the &#8216;Manage Additional local administrators on all Microsoft Entra joined devices&#8217; option within Device Settings:</p>
<p>Microsoft Entra groups deployed to a device with this policy don&#8217;t apply to remote desktop connections. To control remote desktop permissions for Microsoft Entra joined devices, you need to add the individual user&#8217;s SID to the appropriate group.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Gustavo		</title>
		<link>https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-219513</link>

		<dc:creator><![CDATA[Gustavo]]></dc:creator>
		<pubDate>Thu, 09 May 2024 20:04:15 +0000</pubDate>
		<guid isPermaLink="false">https://inthecloud247.com/?p=5175#comment-219513</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-178726&quot;&gt;Simon&lt;/a&gt;.

I was able to add the group to the local group, but in practice, that doesn&#039;t work.
I created a local group, added the Azure group as member of that, and added the local group with an ACL into a folder test. The members of the Azure groups doesn&#039;t have access to it.

Does it need to be installed any kind of client on Windows to allow it to get the SIDs from Azure?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-178726">Simon</a>.</p>
<p>I was able to add the group to the local group, but in practice, that doesn&#8217;t work.<br />
I created a local group, added the Azure group as member of that, and added the local group with an ACL into a folder test. The members of the Azure groups doesn&#8217;t have access to it.</p>
<p>Does it need to be installed any kind of client on Windows to allow it to get the SIDs from Azure?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Wichur		</title>
		<link>https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-207573</link>

		<dc:creator><![CDATA[Wichur]]></dc:creator>
		<pubDate>Mon, 09 Oct 2023 13:51:08 +0000</pubDate>
		<guid isPermaLink="false">https://inthecloud247.com/?p=5175#comment-207573</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-172468&quot;&gt;Bogdan&lt;/a&gt;.

Were you able finally to use AAD Group in Remote Desktop Users group ? 
Or it never worked out ?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-172468">Bogdan</a>.</p>
<p>Were you able finally to use AAD Group in Remote Desktop Users group ?<br />
Or it never worked out ?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Simon		</title>
		<link>https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-178726</link>

		<dc:creator><![CDATA[Simon]]></dc:creator>
		<pubDate>Thu, 03 Feb 2022 21:59:13 +0000</pubDate>
		<guid isPermaLink="false">https://inthecloud247.com/?p=5175#comment-178726</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-99208&quot;&gt;Robert Folkers&lt;/a&gt;.

I had several issues with this approach and prefer performing through script or proactive remediation tasks instead as have more control.

$aadObjectID = &quot;939e62da-dc86-4da7-af38-bc31feedc046&quot; # AAD Group Object ID to assign

function Convert-AzureADObjectIDToSID(){
    param([string]$objectid)
    $bytes = [Guid]::Parse($objectid).ToByteArray()
    $array = New-Object &#039;UInt32[]&#039; 4
    [Buffer]::BlockCopy($bytes, 0, $array,0,16)
    $sid = &quot;S-1-12-1-$array&quot;.replace(&quot; &quot;, &quot;-&quot;)
    return $sid
}

$group = [ADSI]&quot;WinNT://./Administrators,group&quot;
$SID = Convert-AzureADObjectIDToSID -objectid $aadObjectID
$ismember = &quot;False&quot;
@($group.Invoke(&quot;Members&quot;)) &#124; ForEach-Object {
    If ($SID -match $_.GetType.Invoke().InvokeMember(&quot;Name&quot;, &#039;GetProperty&#039;, $null, $_, $null)) {
            $ismember = &quot;True&quot;
    }
}
If ($ismember -ne &quot;True&quot;) {
    $result = $group.Add(&quot;AzureAD://$SID,group&quot;)
}]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-99208">Robert Folkers</a>.</p>
<p>I had several issues with this approach and prefer performing through script or proactive remediation tasks instead as have more control.</p>
<p>$aadObjectID = &#8220;939e62da-dc86-4da7-af38-bc31feedc046&#8221; # AAD Group Object ID to assign</p>
<p>function Convert-AzureADObjectIDToSID(){<br />
    param([string]$objectid)<br />
    $bytes = [Guid]::Parse($objectid).ToByteArray()<br />
    $array = New-Object &#8216;UInt32[]&#8217; 4<br />
    [Buffer]::BlockCopy($bytes, 0, $array,0,16)<br />
    $sid = &#8220;S-1-12-1-$array&#8221;.replace(&#8221; &#8220;, &#8220;-&#8220;)<br />
    return $sid<br />
}</p>
<p>$group = [ADSI]&#8221;WinNT://./Administrators,group&#8221;<br />
$SID = Convert-AzureADObjectIDToSID -objectid $aadObjectID<br />
$ismember = &#8220;False&#8221;<br />
@($group.Invoke(&#8220;Members&#8221;)) | ForEach-Object {<br />
    If ($SID -match $_.GetType.Invoke().InvokeMember(&#8220;Name&#8221;, &#8216;GetProperty&#8217;, $null, $_, $null)) {<br />
            $ismember = &#8220;True&#8221;<br />
    }<br />
}<br />
If ($ismember -ne &#8220;True&#8221;) {<br />
    $result = $group.Add(&#8220;AzureAD://$SID,group&#8221;)<br />
}</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Bogdan		</title>
		<link>https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-172468</link>

		<dc:creator><![CDATA[Bogdan]]></dc:creator>
		<pubDate>Tue, 14 Sep 2021 12:59:24 +0000</pubDate>
		<guid isPermaLink="false">https://inthecloud247.com/?p=5175#comment-172468</guid>

					<description><![CDATA[I have added a group to Remote Desktop Users through this process and I can see the SID being added to the local Remote Desktop Users, but the RDP connection returns an error: The connection was denied because the user account is not authorized for remote login.

If I add my user account to the Remote Desktop Users group then I can use RDP.]]></description>
			<content:encoded><![CDATA[<p>I have added a group to Remote Desktop Users through this process and I can see the SID being added to the local Remote Desktop Users, but the RDP connection returns an error: The connection was denied because the user account is not authorized for remote login.</p>
<p>If I add my user account to the Remote Desktop Users group then I can use RDP.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Peter Klapwijk		</title>
		<link>https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-168082</link>

		<dc:creator><![CDATA[Peter Klapwijk]]></dc:creator>
		<pubDate>Tue, 15 Jun 2021 19:24:04 +0000</pubDate>
		<guid isPermaLink="false">https://inthecloud247.com/?p=5175#comment-168082</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-166144&quot;&gt;sebus&lt;/a&gt;.

Starting Windows 10 2004 it does work for groups.
But the recommended setting to use from Windows 10 20H2 and later is LocalUsersAndGroups
https://inthecloud247.com/manage-local-users-and-groups-with-microsoft-intune/]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-166144">sebus</a>.</p>
<p>Starting Windows 10 2004 it does work for groups.<br />
But the recommended setting to use from Windows 10 20H2 and later is LocalUsersAndGroups<br />
<a href="https://inthecloud247.com/manage-local-users-and-groups-with-microsoft-intune/" rel="ugc">https://inthecloud247.com/manage-local-users-and-groups-with-microsoft-intune/</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: sebus		</title>
		<link>https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-166144</link>

		<dc:creator><![CDATA[sebus]]></dc:creator>
		<pubDate>Thu, 27 May 2021 11:03:08 +0000</pubDate>
		<guid isPermaLink="false">https://inthecloud247.com/?p=5175#comment-166144</guid>

					<description><![CDATA[Never ever managed to get this working. Policy created/assigned/synced, shows Succeeded in Device config, but no members are added to the group (Administrators)
That is just for users, NOT groups]]></description>
			<content:encoded><![CDATA[<p>Never ever managed to get this working. Policy created/assigned/synced, shows Succeeded in Device config, but no members are added to the group (Administrators)<br />
That is just for users, NOT groups</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mangesh D		</title>
		<link>https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-165984</link>

		<dc:creator><![CDATA[Mangesh D]]></dc:creator>
		<pubDate>Tue, 25 May 2021 18:34:22 +0000</pubDate>
		<guid isPermaLink="false">https://inthecloud247.com/?p=5175#comment-165984</guid>

					<description><![CDATA[Hello, I have 2004 and 1909 devices. After applying the policy, AzureAD group SID gets added to &#039;Remote Desktop Users&#039; group in both version devices.
However, the member of AzureAD group is able to access RDP for only 2004 version, it does not work for 1909 version.

When I use same policy to add AzureAD users to &#039;Remote Desktop users&#039; group in 1909, it works correctly. 
Policy does work in 1909, but only for AzureAD users and not for AzureAD group. 

Is there a way to get policy worked for AzureAD group in 1909 version? Our environment has dependency for 1909 that prevent us upgrading to 2004 version.]]></description>
			<content:encoded><![CDATA[<p>Hello, I have 2004 and 1909 devices. After applying the policy, AzureAD group SID gets added to &#8216;Remote Desktop Users&#8217; group in both version devices.<br />
However, the member of AzureAD group is able to access RDP for only 2004 version, it does not work for 1909 version.</p>
<p>When I use same policy to add AzureAD users to &#8216;Remote Desktop users&#8217; group in 1909, it works correctly.<br />
Policy does work in 1909, but only for AzureAD users and not for AzureAD group. </p>
<p>Is there a way to get policy worked for AzureAD group in 1909 version? Our environment has dependency for 1909 that prevent us upgrading to 2004 version.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Peter Klapwijk		</title>
		<link>https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-161076</link>

		<dc:creator><![CDATA[Peter Klapwijk]]></dc:creator>
		<pubDate>Wed, 07 Apr 2021 19:42:43 +0000</pubDate>
		<guid isPermaLink="false">https://inthecloud247.com/?p=5175#comment-161076</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-161074&quot;&gt;Donovan Sobrero&lt;/a&gt;.

Donovan, have a look at the settings described in this article https://inthecloud247.com/manage-local-users-and-groups-with-microsoft-intune/. You can define a group action, in your case use Update.

Regards,

Peter]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-161074">Donovan Sobrero</a>.</p>
<p>Donovan, have a look at the settings described in this article <a href="https://inthecloud247.com/manage-local-users-and-groups-with-microsoft-intune/" rel="ugc">https://inthecloud247.com/manage-local-users-and-groups-with-microsoft-intune/</a>. You can define a group action, in your case use Update.</p>
<p>Regards,</p>
<p>Peter</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Donovan Sobrero		</title>
		<link>https://inthecloud247.com/add-an-azure-ad-group-to-the-local-administrators-group-with-microsoft-intune/#comment-161074</link>

		<dc:creator><![CDATA[Donovan Sobrero]]></dc:creator>
		<pubDate>Wed, 07 Apr 2021 19:12:21 +0000</pubDate>
		<guid isPermaLink="false">https://inthecloud247.com/?p=5175#comment-161074</guid>

					<description><![CDATA[Does this overwrite if there is other users part of the local administrator already? how can I append without change what&#039;s in the group already. and if I wanted to remove just one of the users in the group is that possible?]]></description>
			<content:encoded><![CDATA[<p>Does this overwrite if there is other users part of the local administrator already? how can I append without change what&#8217;s in the group already. and if I wanted to remove just one of the users in the group is that possible?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
