<div data-elementor-type="wp-post" data-elementor-id="694" class="elementor elementor-694" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-40edd3b elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="40edd3b" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6ac1a7f" data-id="6ac1a7f" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-c038f39 elementor-widget elementor-widget-heading" data-id="c038f39" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Intro</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-dbde48e elementor-widget elementor-widget-text-editor" data-id="dbde48e" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Elevating local accounts is something that pop-ups up from time-to-time, as I have been migrating my clients away from local and domain accounts and towards AzureAD, I find myself having to confirm the best way to elevate certain accounts to local admin, my usual process of going to lusrmgr.msc is no longer effective with AzureAD accounts.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-9a1000f elementor-widget elementor-widget-heading" data-id="9a1000f" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Method</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-53e862f elementor-widget elementor-widget-text-editor" data-id="53e862f" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>I use command prompt for this:</p><ol><li>Open an administrator command prompt or PowerShell window.</li><li>Input the following command:</li></ol><blockquote><ol>net localgroup administrators AzureAD\[Primary-Email-Of-AAD-User] /add</ol></blockquote><p>For example:</p><p><img class="alignnone size-large wp-image-697" src="http://techzilica.com/wp-content/uploads/2022/09/Adding_AzureAD_user_to_local_administrators_group_on_PowerShell-1024x593.png" alt="Adding AzureAD user to local administrators group on PowerShell" width="1024" height="593" /></p><p>That’s it!</p><p>If you have issues:</p><ul><li>Ensure you are using an administrative command prompt window.</li><li>Doublecheck the email address / username of the AzureAD user</li></ul>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		
How to add AzureAD account to local administrators on Windows
