<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>OneDrive | Vlad Talks Tech</title><description>You don&apos;t want all your files shared with the organization which is why OneDrive an important solution to your organization and personal privacy within it!</description><link>https://vladtalkstech.com/</link><language>en-us</language><item><title>How to Set Organization Link Expiration in SharePoint and OneDrive</title><link>https://vladtalkstech.com/microsoft-365/sharepoint/sharepoint-organization-link-expiration/</link><guid isPermaLink="false">https://vladtalkstech.com/?p=48257</guid><description>Set organization link expiration in SharePoint and OneDrive to stop internal oversharing. Tenant and site-level PowerShell config included.</description><pubDate>Mon, 01 Jun 2026 02:45:04 GMT</pubDate><content:encoded>&lt;p&gt;Microsoft has finally given SharePoint admins a way to fight internal oversharing at the link level. The new SharePoint organization link expiration setting lets you automatically expire People in your organization links in both SharePoint and OneDrive, and it only takes a couple of PowerShell parameters to turn it on. In this post, you will learn why this matters for Microsoft Copilot deployments, how to configure it at the tenant level, and how to override it for specific sites when one policy does not fit every workspace.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Key takeaways&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Microsoft now supports expiration policies for People in your organization sharing links in SharePoint and OneDrive, closing a long-standing internal oversharing gap.&lt;/li&gt;
&lt;li&gt;You configure two values per workload: a recommended default that pre-fills in the share dialog and a maximum that acts as a hard ceiling, both between 7 and 720 days.&lt;/li&gt;
&lt;li&gt;Tenant-level settings are applied with the Set-SPOTenant cmdlet, and you can override them per site using Set-SPOSite for sensitive or marketing workspaces.&lt;/li&gt;
&lt;li&gt;Existing organization links are not affected. The policy only applies to brand-new links created after the setting is turned on.&lt;/li&gt;
&lt;li&gt;If you are rolling out Microsoft Copilot, enabling this is close to a no-brainer because it stops new oversharing damage from accumulating while you remediate the existing problem.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;why-internal-oversharing-became-a-copilot-sized-problem&quot;&gt;Why internal oversharing became a Copilot-sized problem&lt;/h2&gt;
&lt;p&gt;For years, the loudest oversharing conversation has been about the Everyone Except External Users group. Too many SharePoint sites and documents had that group on their permissions, which exposed content to anyone who could sign in. Microsoft eventually let admins hide that group from the people picker, and most organizations have done so by now.&lt;/p&gt;
&lt;p&gt;The trouble is that Everyone Except External Users was only one path to internal oversharing. The other big one is sharing links. Specifically, the People in your organization link, which works for any tenant member who has the URL. Before Microsoft Copilot, that link was already a quiet risk. With Copilot indexing everything a user has access to, that risk became loud.&lt;/p&gt;
&lt;p&gt;As I covered in &lt;a href=&quot;https://www.youtube.com/watch?v=o2_Oh1ISW28&quot; rel=&quot;noopener noreferrer&quot; target=&quot;_blank&quot;&gt;Mitigating Microsoft 365 Oversharing Risks&lt;/a&gt;, Microsoft Copilot does not create oversharing. It surfaces oversharing that was already there. Every dormant organization link in your tenant is one more place where a user can ask Copilot a question and get back a document they were never supposed to see.&lt;/p&gt;
&lt;p&gt;Having worked with SharePoint environments for over a decade, I can tell you this is one of the most welcome admin controls Microsoft has shipped this year.&lt;/p&gt;
&lt;h2 id=&quot;the-three-types-of-sharepoint-sharing-links&quot;&gt;The three types of SharePoint sharing links&lt;/h2&gt;
&lt;p&gt;Before getting into the configuration, it helps to remember what kinds of links you are dealing with in SharePoint and OneDrive. Each one has a different blast radius.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Specific people link&lt;/strong&gt;: Works only for the named recipients. This is the safest option.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;People in your organization link&lt;/strong&gt;: Works for any tenant member who has the link. This is the one the new expiration setting targets.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Anyone with the link&lt;/strong&gt;: Works for anyone, internal or external. This is the most permissive link type and has had expiration controls for years.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&quot;/wp-content/uploads/New-SharePoint-Setting-SS1.webp&quot; alt=&quot;Diagram of the three SharePoint sharing link types: specific people, people in your organization, and anyone with the link&quot; srcset=&quot;/wp-content/uploads/New-SharePoint-Setting-SS1.webp.w480.webp 480w, /wp-content/uploads/New-SharePoint-Setting-SS1.webp.w800.webp 800w, /wp-content/uploads/New-SharePoint-Setting-SS1.webp.w1200.webp 1200w, /wp-content/uploads/New-SharePoint-Setting-SS1.webp 1867w&quot; sizes=&quot;(max-width: 960px) calc(100vw - 48px), (max-width: 1176px) calc(100vw - 416px), 760px&quot; width=&quot;1867&quot; height=&quot;1024&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot;&gt;&lt;/p&gt;
&lt;p&gt;Microsoft has been giving us tools to limit Anyone links for close to a decade. Anyone expiration policies have been there. Specific people links have always been the recommended best practice. The People in your organization link, however, has been sitting in the middle with no expiration option, which is exactly where Copilot exposure tends to pile up.&lt;/p&gt;
&lt;h2 id=&quot;what-the-new-sharepoint-organization-link-expiration-setting-does&quot;&gt;What the new SharePoint organization link expiration setting does&lt;/h2&gt;
&lt;p&gt;The new setting gives you two values to configure, not one. That distinction is important because it lets you balance security with end-user flexibility.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Recommended default&lt;/strong&gt;: The value that pre-fills in the share dialog when a user creates a People in your organization link. Users can pick less. They can also pick more, up to the maximum.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Maximum&lt;/strong&gt;: The hard ceiling. Users cannot set an expiration longer than this value, no matter what they do in the UI.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Both values must be between 7 and 720 days, so anywhere from one week to roughly two years. You can also set different values for SharePoint and OneDrive, which is useful because the use cases are not the same. Personal OneDrive sharing tends to be more transactional, so you might want a tighter ceiling there than on collaborative SharePoint sites.&lt;/p&gt;
&lt;p&gt;One important caveat: this setting only applies to new links created after you enable it. Existing organization links are not retroactively expired. You will still need SharePoint Advanced Management or PowerShell-based remediation for the historical damage, but new links will stop adding to the pile.&lt;/p&gt;
&lt;h2 id=&quot;how-to-configure-sharepoint-organization-link-expiration-at-the-tenant-level&quot;&gt;How to configure SharePoint organization link expiration at the tenant level&lt;/h2&gt;
&lt;p&gt;The tenant-level configuration uses the Set-SPOTenant cmdlet. You have four parameters to work with: two for SharePoint and two for OneDrive.&lt;/p&gt;
&lt;p&gt;For SharePoint:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;CoreOrganizationSharingLinkRecommendedExpirationInDays&lt;/li&gt;
&lt;li&gt;CoreOrganizationSharingLinkMaxExpirationInDays&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For OneDrive:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;OneDriveOrganizationSharingLinkRecommendedExpirationInDays&lt;/li&gt;
&lt;li&gt;OneDriveOrganizationSharingLinkMaxExpirationInDays&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Yes, the parameter names are long. But the logic is simple: the first one is the recommended default, and the second one is the maximum.&lt;/p&gt;
&lt;p&gt;Here is what a typical configuration looks like. In this example, SharePoint links default to 14 days with a 90-day ceiling, and OneDrive links default to 7 days with a 30-day ceiling.&lt;/p&gt;
&lt;pre class=&quot;astro-code github-dark&quot; style=&quot;background-color:#24292e;color:#e1e4e8; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;powershell&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#79B8FF&quot;&gt;Set-SPOTenant&lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt; `&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F97583&quot;&gt;    -&lt;/span&gt;&lt;span style=&quot;color:#E1E4E8&quot;&gt;CoreOrganizationSharingLinkRecommendedExpirationInDays &lt;/span&gt;&lt;span style=&quot;color:#79B8FF&quot;&gt;14&lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt; `&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F97583&quot;&gt;    -&lt;/span&gt;&lt;span style=&quot;color:#E1E4E8&quot;&gt;CoreOrganizationSharingLinkMaxExpirationInDays &lt;/span&gt;&lt;span style=&quot;color:#79B8FF&quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt; `&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F97583&quot;&gt;    -&lt;/span&gt;&lt;span style=&quot;color:#E1E4E8&quot;&gt;OneDriveOrganizationSharingLinkRecommendedExpirationInDays &lt;/span&gt;&lt;span style=&quot;color:#79B8FF&quot;&gt;7&lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt; `&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F97583&quot;&gt;    -&lt;/span&gt;&lt;span style=&quot;color:#E1E4E8&quot;&gt;OneDriveOrganizationSharingLinkMaxExpirationInDays &lt;/span&gt;&lt;span style=&quot;color:#79B8FF&quot;&gt;30&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You can validate the settings with Get-SPOTenant. Once the policy is in place, the share dialog on any SharePoint site will show the recommended expiration as the default and prevent users from extending beyond the maximum.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/wp-content/uploads/New-SharePoint-Setting-SS2-1.png&quot; alt=&quot;PowerShell terminal showing the Set-SPOTenant cmdlet configuring SharePoint and OneDrive organization link expiration&quot; srcset=&quot;/wp-content/uploads/New-SharePoint-Setting-SS2-1.png.w480.webp 480w, /wp-content/uploads/New-SharePoint-Setting-SS2-1.png.w800.webp 800w, /wp-content/uploads/New-SharePoint-Setting-SS2-1.png.w1200.webp 1200w, /wp-content/uploads/New-SharePoint-Setting-SS2-1.png 1751w&quot; sizes=&quot;(max-width: 960px) calc(100vw - 48px), (max-width: 1176px) calc(100vw - 416px), 760px&quot; width=&quot;1751&quot; height=&quot;969&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/wp-content/uploads/New-SharePoint-Setting-SS3.webp&quot; alt=&quot;SharePoint share dialog showing People in your organization link with a 14-day recommended expiration and 90-day maximum&quot; srcset=&quot;/wp-content/uploads/New-SharePoint-Setting-SS3.webp.w480.webp 480w, /wp-content/uploads/New-SharePoint-Setting-SS3.webp.w800.webp 800w, /wp-content/uploads/New-SharePoint-Setting-SS3.webp 1327w&quot; sizes=&quot;(max-width: 960px) calc(100vw - 48px), (max-width: 1176px) calc(100vw - 416px), 760px&quot; width=&quot;1327&quot; height=&quot;895&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot;&gt;&lt;/p&gt;
&lt;h2 id=&quot;how-to-override-organization-link-expiration-at-the-site-level&quot;&gt;How to override organization link expiration at the site level&lt;/h2&gt;
&lt;p&gt;A single tenant-wide policy will not fit every site. Your marketing intranet might need longer-lived links so campaigns do not break, while a sensitive HR or finance site needs a much tighter ceiling. This is where the site-level override comes in.&lt;/p&gt;
&lt;p&gt;The override uses the Set-SPOSite cmdlet. The first thing you do is flip the override switch with OverrideTenantOrganizationSharingLinkExpirationPolicy, then set the two values for that specific site.&lt;/p&gt;
&lt;p&gt;The three parameters are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;OverrideTenantOrganizationSharingLinkExpirationPolicy (set to $true)&lt;/li&gt;
&lt;li&gt;OrganizationSharingLinkRecommendedExpirationInDays&lt;/li&gt;
&lt;li&gt;OrganizationSharingLinkMaxExpirationInDays&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here is an example that overrides the tenant policy for a Conference Resources site, setting the recommended default to 30 days and the maximum to 360 days:&lt;/p&gt;
&lt;pre class=&quot;astro-code github-dark&quot; style=&quot;background-color:#24292e;color:#e1e4e8; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;powershell&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#79B8FF&quot;&gt;Set-SPOSite&lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt; -&lt;/span&gt;&lt;span style=&quot;color:#E1E4E8&quot;&gt;Identity https:&lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt;//&lt;/span&gt;&lt;span style=&quot;color:#79B8FF&quot;&gt;contoso.sharepoint.com&lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color:#E1E4E8&quot;&gt;sites&lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color:#E1E4E8&quot;&gt;ConferenceResources &lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt;`&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F97583&quot;&gt;    -&lt;/span&gt;&lt;span style=&quot;color:#E1E4E8&quot;&gt;OverrideTenantOrganizationSharingLinkExpirationPolicy &lt;/span&gt;&lt;span style=&quot;color:#79B8FF&quot;&gt;$true&lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt; `&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F97583&quot;&gt;    -&lt;/span&gt;&lt;span style=&quot;color:#E1E4E8&quot;&gt;OrganizationSharingLinkRecommendedExpirationInDays &lt;/span&gt;&lt;span style=&quot;color:#79B8FF&quot;&gt;30&lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt; `&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#F97583&quot;&gt;    -&lt;/span&gt;&lt;span style=&quot;color:#E1E4E8&quot;&gt;OrganizationSharingLinkMaxExpirationInDays &lt;/span&gt;&lt;span style=&quot;color:#79B8FF&quot;&gt;360&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The same 7 to 720 day range applies. The site-level value can be more strict or more permissive than the tenant default. Once the cmdlet finishes, the share dialog on that specific site will reflect the new values instead of the tenant-level policy.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/wp-content/uploads/New-SharePoint-Setting-SS4.png&quot; alt=&quot;SharePoint share dialog on an overridden site showing the new 30-day default and 360-day maximum organization link expiration&quot; srcset=&quot;/wp-content/uploads/New-SharePoint-Setting-SS4.png.w480.webp 480w, /wp-content/uploads/New-SharePoint-Setting-SS4.png.w800.webp 800w, /wp-content/uploads/New-SharePoint-Setting-SS4.png 1336w&quot; sizes=&quot;(max-width: 960px) calc(100vw - 48px), (max-width: 1176px) calc(100vw - 416px), 760px&quot; width=&quot;1336&quot; height=&quot;929&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot;&gt;&lt;/p&gt;
&lt;h2 id=&quot;what-this-means-for-you&quot;&gt;What this means for you&lt;/h2&gt;
&lt;p&gt;If you are an IT admin running a Microsoft 365 tenant, this setting belongs on your short list of governance controls to enable in the next sprint. The reason is simple: oversharing remediation has been almost entirely reactive until now. Tools like SharePoint Advanced Management and the Permission State Report help you find existing damage, but they do not stop the next dormant link from being created today.&lt;/p&gt;
&lt;p&gt;This setting is the first proactive lever for People in your organization links. Once enabled, every brand-new link starts a countdown clock. After the expiration date hits, the link stops working, and the access it granted goes away. You no longer have to remember to chase it down.&lt;/p&gt;
&lt;p&gt;A practical rollout pattern looks like this. First, set a relatively strict tenant default, for example 14 days recommended with a 90-day maximum. Then, identify the small number of sites where business owners have a legitimate need for longer-lived organization links, such as marketing campaigns or partner-facing intranets, and override the policy for just those sites. This gives you a secure-by-default posture without creating friction for the legitimate use cases. If you want to layer in additional controls beyond link expiration, &lt;a href=&quot;/microsoft-copilot/prevent-copilot-oversharing-with-sharepoint-premium/&quot;&gt;SharePoint Premium and the Permission State Report&lt;/a&gt; are the natural next step, especially before a Microsoft Copilot rollout.&lt;/p&gt;
&lt;p&gt;For organizations actively deploying Microsoft Copilot, I would not wait. Configure this now so the oversharing pile does not keep growing while you fix what is already there.&lt;/p&gt;
&lt;h2 id=&quot;ready-to-lock-down-internal-oversharing-in-your-tenant&quot;&gt;Ready to lock down internal oversharing in your tenant?&lt;/h2&gt;
&lt;p&gt;If you are responsible for a Microsoft 365 tenant heading into a Copilot rollout, link expiration is one piece of a much bigger oversharing story. For a deeper look at where Microsoft sharing is going next, check out &lt;a href=&quot;/microsoft-365/the-future-of-file-sharing-in-microsoft-365-hero-link-deep-dive/&quot;&gt;The Future of File Sharing in Microsoft 365: Hero Link Deep Dive&lt;/a&gt;, and if you want a structured way to level up your SharePoint admin skills, my &lt;a href=&quot;https://vladtalks.com/courses/pluralsight&quot; rel=&quot;noopener noreferrer&quot; target=&quot;_blank&quot;&gt;Pluralsight course catalog&lt;/a&gt; has over 100 courses across Microsoft 365, SharePoint, and Copilot governance.&lt;/p&gt;</content:encoded><category>Microsoft 365</category><category>OneDrive</category><category>SharePoint</category><author>Vlad Catrinescu</author></item><item><title>Find a user’s OneDrive for Business site URL with PowerShell</title><link>https://vladtalkstech.com/microsoft-365/find-a-users-onedrive-for-business-site-url-with-powershell/</link><guid isPermaLink="false">https://vladtalkstech.com/?p=32052</guid><description>In this blog post, we will cover how to find a user’s OneDrive for Business site URL with PowerShell by leveraging the PnP PowerShell cmdlets</description><pubDate>Thu, 04 Apr 2019 15:00:50 GMT</pubDate><content:encoded>&lt;p&gt;While working on an offboarding script, one of the requirements was to send an e-mail to the manager with the OneDrive for Business URL of the user that was going to get disabled. There is quite some information on the internet on how to get this with CSOM, but not a lot in how to get it with PowerShell for IT Pros like me … we prefer PowerShell cmdlets to code! While this is not available in the default SharePoint Online Module ,we can use the &lt;a href=&quot;https://github.com/SharePoint/PnP-PowerShell&quot; rel=&quot;noopener noreferrer&quot; target=&quot;_blank&quot;&gt;PnP PowerShell cmdlets&lt;/a&gt; to do it!&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/wp-content/uploads/2019/03/031919_0628_FindausersO1.png&quot; alt=&quot;Office 365 logo with the PowerShell and SharePoint icons&quot; width=&quot;321&quot; height=&quot;139&quot;&gt;&lt;/p&gt;
&lt;p&gt;The first thing you must do is to get your credential and use the Connect-PnPOnline cmdlet to connect to your SharePoint Online Admin Center!&lt;/p&gt;
&lt;pre class=&quot;astro-code github-dark&quot; style=&quot;background-color:#24292e;color:#e1e4e8; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;powershell&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#E1E4E8&quot;&gt;$cred &lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#79B8FF&quot;&gt; Get-Credential&lt;/span&gt;&lt;span style=&quot;color:#E1E4E8&quot;&gt; &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#79B8FF&quot;&gt;Connect-PnPOnline&lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt; -&lt;/span&gt;&lt;span style=&quot;color:#E1E4E8&quot;&gt;Url https:&lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt;//&amp;#x3C;&lt;/span&gt;&lt;span style=&quot;color:#E1E4E8&quot;&gt;tenant&lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt;&gt;-&lt;/span&gt;&lt;span style=&quot;color:#79B8FF&quot;&gt;admin.sharepoint.com&lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt; -&lt;/span&gt;&lt;span style=&quot;color:#E1E4E8&quot;&gt;Credentials $cred&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You can then run the Get-PnPUserProfileProperty cmdlet to get the information about the user’s profile and select only the PersonalUrl which is the URL of that user’s OneDrive for Business!&lt;/p&gt;
&lt;pre class=&quot;astro-code github-dark&quot; style=&quot;background-color:#24292e;color:#e1e4e8; overflow-x: auto;&quot; tabindex=&quot;0&quot; data-language=&quot;powershell&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#E1E4E8&quot;&gt;$username &lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#9ECBFF&quot;&gt; &quot;&amp;#x3C;UserName&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color:#E1E4E8&quot;&gt; $OneDriveUrl &lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:#79B8FF&quot;&gt; Get-PnPUserProfileProperty&lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt; -&lt;/span&gt;&lt;span style=&quot;color:#E1E4E8&quot;&gt;Account&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span style=&quot;color:#E1E4E8&quot;&gt;$username &lt;/span&gt;&lt;span style=&quot;color:#F97583&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;color:#E1E4E8&quot;&gt; select PersonalUrl&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;img src=&quot;/wp-content/uploads/2019/03/031919_0628_FindausersO2.png&quot; alt=&quot;Find a user’s OneDrive for Business site URL with PowerShell&quot; srcset=&quot;/wp-content/uploads/2019/03/031919_0628_FindausersO2.png.w480.webp 480w, /wp-content/uploads/2019/03/031919_0628_FindausersO2.png 786w&quot; sizes=&quot;(max-width: 960px) calc(100vw - 48px), (max-width: 1176px) calc(100vw - 416px), 760px&quot; width=&quot;786&quot; height=&quot;270&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot;&gt;&lt;/p&gt;
&lt;p&gt;That’s it! Once you know the right cmdlets to use, it’s that simple!&lt;/p&gt;</content:encoded><category>Microsoft 365</category><category>OneDrive</category><category>PowerShell</category><author>Vlad Catrinescu</author></item></channel></rss>