<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>give access to another users onedrive for business Archives - the Sysadmin Channel</title>
	<atom:link href="https://thesysadminchannel.com/tag/give-access-to-another-users-onedrive-for-business/feed/" rel="self" type="application/rss+xml" />
	<link>https://thesysadminchannel.com/tag/give-access-to-another-users-onedrive-for-business/</link>
	<description>Documenting My Life as a System Administrator</description>
	<lastBuildDate>Tue, 15 Jun 2021 04:24:59 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
<site xmlns="com-wordpress:feed-additions:1">144174110</site>	<item>
		<title>How To Grant OneDrive Access To Another User (as an Administrator)</title>
		<link>https://thesysadminchannel.com/how-to-grant-onedrive-access-to-another-user-as-an-administrator/</link>
					<comments>https://thesysadminchannel.com/how-to-grant-onedrive-access-to-another-user-as-an-administrator/#comments</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Tue, 15 Jun 2021 04:24:59 +0000</pubDate>
				<category><![CDATA[OneDrive]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[give access to another users onedrive for business]]></category>
		<category><![CDATA[grant access to onedrive for business to another user]]></category>
		<category><![CDATA[Grant OneDrive Access To Another User]]></category>
		<category><![CDATA[how to grant access to onedrive]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=3139</guid>

					<description><![CDATA[<p>In this article we&#8217;re going to give you the run down on how exactly we can grant OneDrive access to another user as an administrator of Office 365. This use case typically stems from someone who has recently left the&#8230; <a href="https://thesysadminchannel.com/how-to-grant-onedrive-access-to-another-user-as-an-administrator/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/how-to-grant-onedrive-access-to-another-user-as-an-administrator/">How To Grant OneDrive Access To Another User (as an Administrator)</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In this article we&#8217;re going to give you the run down on how exactly we can grant OneDrive access to another user as an administrator of Office 365.  This use case typically stems from someone who has recently left the company and the person that&#8217;s going to be taking over is requesting this access.  </p>
<p>It happens all the time and today we&#8217;re going to document exactly what&#8217;s needed as well as how to streamline the process using Powershell.</p>
<h2>Requirements For Granting OneDrive Permissions</h2>
<p>In order to make this work there are a few things you&#8217;ll need as well as few things you&#8217;ll need to know so you don&#8217;t run into any road blocks. We&#8217;ll outline the 3 topics you need here.</p>
<ul>
<li>You&#8217;ll need either <strong>Global Administrator</strong> -or <strong>SharePoint Administrator</strong> rights</li>
<li>You&#8217;ll need to know the SharePoint admin site URL to connect to it.</li>
<ul>
<li>Your admin site URL is typically <strong>https://&lt;tenantName&gt;-admin.sharepoint.com</strong>.  e.g. https://thesysadminchannel-admin.sharepoint.com</li>
</ul>
<li>You&#8217;ll need the <strong>Microsoft.Online.SharePoint.PowerShell</strong> Module
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2021/06/Connect-to-SharePoint-Online-Powershell.png" target="_blank" rel="noopener"><img fetchpriority="high" decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2021/06/Connect-to-SharePoint-Online-Powershell.png" alt="Connect to SharePoint Online Powershell" width="1181" height="393" class="aligncenter size-full wp-image-3143" srcset="https://thesysadminchannel.com/wp-content/uploads/2021/06/Connect-to-SharePoint-Online-Powershell.png?v=1623724673 1181w, https://thesysadminchannel.com/wp-content/uploads/2021/06/Connect-to-SharePoint-Online-Powershell-1024x341.png?v=1623724673 1024w, https://thesysadminchannel.com/wp-content/uploads/2021/06/Connect-to-SharePoint-Online-Powershell-768x256.png?v=1623724673 768w" sizes="(max-width: 1181px) 100vw, 1181px" /></a></p>
<p>&nbsp;</p>
<p>Once we have successfully connected to SharePoint online using Powershell we can confirm our connection by typing in <strong>Get-SPOSite | select -First 5</strong>.   If you know of a SharePoint site you can use that as well.</p>
<h2>Grant OneDrive Access To Another User</h2>
<p>At this point we&#8217;ve already connected to SharePoint Online which should now give us access to OneDrive properties and cmdlets. Let&#8217;s start by getting the general layout of how OneDrive URLs are generated.  Typically, a user&#8217;s OneDrive link is going to be https://<em>&lt;tenantName&gt;</em>-my.sharepoint.com/personal/<em>&lt;userName&gt;</em>_<em>&lt;domainName&gt;</em>_<em>&lt;domainSpace&gt;</em></p>
<p>&nbsp;</p>
<p>The above might sound pretty confusing because of all the variables that is has, but a user in my tenant would look like this:<br />
&#8220;<strong>https://thesysadminchannel-my.sharepoint.com/personal/bsmith_thesysadminchannel_com</strong>&#8221; &#8211; In my case, my domain and my tenant name are the same so its pretty simple, but if your tenant name and domain are different, you&#8217;ll need to account for that too.  The domainSpace above refers to .com/ .net / .biz etc&#8230;</p>
<p>If you&#8217;re still unsure what your OneDrive URLs might look like you can go to admin.microsoft.com -> search for the user -> select the OneDrive tab and click to create a link to view the user&#8217;s OD files. </p>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2021/06/Get-OneDrive-Link-From-Office-365-Admin-Center.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2021/06/Get-OneDrive-Link-From-Office-365-Admin-Center.png" alt="Get OneDrive Link From Office 365 Admin Center" width="1461" height="576" class="aligncenter size-full wp-image-3148" srcset="https://thesysadminchannel.com/wp-content/uploads/2021/06/Get-OneDrive-Link-From-Office-365-Admin-Center.png?v=1623728528 1461w, https://thesysadminchannel.com/wp-content/uploads/2021/06/Get-OneDrive-Link-From-Office-365-Admin-Center-1024x404.png?v=1623728528 1024w, https://thesysadminchannel.com/wp-content/uploads/2021/06/Get-OneDrive-Link-From-Office-365-Admin-Center-768x303.png?v=1623728528 768w" sizes="(max-width: 1461px) 100vw, 1461px" /></a></p>
<p>&nbsp;</p>
<p>Now that we know the general layout, all we&#8217;ll need to do is populate the username in that url template.  In this case, I&#8217;m going to grant myself site collection admin access to the user Gabby&#8217;s OD by running the Set-SPOUser cmdlet.</p>
<pre class="brush: powershell; title: ; notranslate">

$URL = 'https://thesysadminchannel-my.sharepoint.com/personal/gabby_thesysadminchannel_com'
Set-SPOUser -Site $URL -LoginName pcontreras@thesysadminchannel.com -IsSiteCollectionAdmin: $true

</pre>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2021/06/Set-SPOuser-Permissions-Grant-OneDrive-Permissions-To-Another-User.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2021/06/Set-SPOuser-Permissions-Grant-OneDrive-Permissions-To-Another-User.png" alt="Set SPOuser Permissions - Grant OneDrive Access To Another User" width="1204" height="348" class="aligncenter size-full wp-image-3150" srcset="https://thesysadminchannel.com/wp-content/uploads/2021/06/Set-SPOuser-Permissions-Grant-OneDrive-Permissions-To-Another-User.png?v=1623729333 1204w, https://thesysadminchannel.com/wp-content/uploads/2021/06/Set-SPOuser-Permissions-Grant-OneDrive-Permissions-To-Another-User-1024x296.png?v=1623729333 1024w, https://thesysadminchannel.com/wp-content/uploads/2021/06/Set-SPOuser-Permissions-Grant-OneDrive-Permissions-To-Another-User-768x222.png?v=1623729333 768w" sizes="(max-width: 1204px) 100vw, 1204px" /></a></p>
<p>&nbsp;</p>
<p>We also want to verify our access by running the Get-SPOUser cmdlet.</p>
<pre class="brush: powershell; title: ; notranslate">

Get-SPOUser -Site $URL -LoginName pcontreras@thesysadminchannel.com | fl

DisplayName : Paul Contreras
LoginName   : pcontreras@thesysadminchannel.com
IsSiteAdmin : True
IsGroup     : False
Groups      : {}
UserType    : Member

</pre>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2021/06/Get-SPOuser-Permissions-Grant-OneDrive-Permissions-To-Another-User.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2021/06/Get-SPOuser-Permissions-Grant-OneDrive-Permissions-To-Another-User.png" alt="Get SPOuser Permissions - Grant OneDrive Access To Another User" width="991" height="351" class="aligncenter size-full wp-image-3152" srcset="https://thesysadminchannel.com/wp-content/uploads/2021/06/Get-SPOuser-Permissions-Grant-OneDrive-Permissions-To-Another-User.png?v=1623729739 991w, https://thesysadminchannel.com/wp-content/uploads/2021/06/Get-SPOuser-Permissions-Grant-OneDrive-Permissions-To-Another-User-768x272.png?v=1623729739 768w" sizes="(max-width: 991px) 100vw, 991px" /></a></p>
<h2>Conclusion</h2>
<p>Great, now we finally know how to grant OneDrive access to another user using our administrator permissions. Hopefully you found this pretty useful and informative.  If you would like to learn more, check out our <a href="https://thesysadminchannel.com/office365/onedrive/" rel="noopener" target="_blank">OneDrive gallery</a> that has pretty neat scripts like <a href="https://thesysadminchannel.com/check-onedrive-usage-for-users-in-office-365/" rel="noopener" target="_blank">Get-OneDriveUsage</a> to see how much data the user has.</p>
<p>The post <a href="https://thesysadminchannel.com/how-to-grant-onedrive-access-to-another-user-as-an-administrator/">How To Grant OneDrive Access To Another User (as an Administrator)</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/how-to-grant-onedrive-access-to-another-user-as-an-administrator/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3139</post-id>	</item>
	</channel>
</rss>
