Updates from: 06/14/2024 12:02:20
Service Microsoft Docs article Related commit history on GitHub Change details
SharePoint Change External Sharing Site https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/commits/public/SharePoint/SharePointOnline/change-external-sharing-site.md
Previously updated : 07/18/2023 Last updated : 06/11/2024 Title: Change the sharing settings for a site -+ recommendations: true audience: Admin f1.keywords:
SharePoint Create Hub Site https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/commits/public/SharePoint/SharePointOnline/create-hub-site.md
description: "In this article, you'll learn how to register a site as a hub site
# Create a hub site in SharePoint
-If you're a Global Administrator or SharePoint Administrator in Microsoft 365, you can convert any existing site to a hub site.
+If you're at least a [SharePoint Administrator](./sharepoint-admin-role.md) in Microsoft 365, you can convert any existing site to a hub site.
> [!NOTE] > We recommend selecting a communication site, or a team site that uses the new template. If you use a classic team site, the hub navigation will appear only on modern pages, and hub site settings will only appear on modern pages.<br>Sites that are already associated with another hub can't be converted to a hub site. <br>You can create up to 2,000 hub sites for an organization. This applies to hub-to-hub associations as well. Any site labeled as a hub site will count against this limit. There is no limit on the number of sites that can be associated with a hub site. <br>When users associate their sites with a hub, it doesn't impact the permissions of either the hub site or the associated sites. It's important to make sure all users you allow to associate sites to the hub have permission to the hub.
SharePoint Create Or Edit Secure Store Target Application https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/commits/public/SharePoint/SharePointOnline/create-or-edit-secure-store-target-application.md
When you want to use external data (such as data from your other business applic
BCS makes it possible for you to set up a connection to the Target Application, and the Secure Store enables you to manage the credentials that are required by the external data source. >[!NOTE]
-> To access the Secure Store, you must have the SharePoint Administrator role or Global Administrator role.
+> To access the Secure Store, you must have at least the [SharePoint Administrator](./sharepoint-admin-role.md) role.
## How the Secure Store Service Works <a name="__toc346879710"> </a>
SharePoint Create Site Collection https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/commits/public/SharePoint/SharePointOnline/create-site-collection.md
description: "This article describes how global and SharePoint admins can create
# Create a site
-This article describes how Global Administrators and SharePoint Administrators in Microsoft 365 can create sites (previously called "site collections") in the <a href="https://go.microsoft.com/fwlink/?linkid=2185219" target="_blank">SharePoint admin center</a>. For info about creating sites and adding users and groups to them by using Microsoft PowerShell, see [Create SharePoint sites and add users with PowerShell](/microsoft-365/enterprise/create-sharepoint-sites-and-add-users-with-powershell).
+This article describes how being at least a [SharePoint Administrator](./sharepoint-admin-role.md) in Microsoft 365 can create sites (previously called "site collections") in the <a href="https://go.microsoft.com/fwlink/?linkid=2185219" target="_blank">SharePoint admin center</a>. For info about creating sites and adding users and groups to them by using Microsoft PowerShell, see [Create SharePoint sites and add users with PowerShell](/microsoft-365/enterprise/create-sharepoint-sites-and-add-users-with-powershell).
For info about creating site collections in SharePoint Server, see [Create a site collection in SharePoint Server](../SharePointServer/sites/create-a-site-collection.md).
SharePoint Customize Sharepoint Site Permissions https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/commits/public/SharePoint/SharePointOnline/customize-sharepoint-site-permissions.md
If you have customized a permission level or created a new permission level, you
4. Click **OK**. > [!NOTE]
- > To see the Site Collection Administrators link, you must be a site collection administrator, or a Global Administrator or SharePoint Administrator in your organization. This link is not displayed to site owners.
+ > To see the Site Collection Administrators link, you must be at least a [SharePoint Administrator](./sharepoint-admin-role.md). This link is not displayed to site owners.
SharePoint External Sharing Overview https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/commits/public/SharePoint/SharePointOnline/external-sharing-overview.md
Previously updated : 06/19/2023 Last updated : 06/12/2024 Title: Overview of external sharing in SharePoint and OneDrive in Microsoft 365 -+ recommendations: true audience: Admin f1.keywords:
SharePoint List Onedrive Urls https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/commits/public/SharePoint/SharePointOnline/list-onedrive-urls.md
Previously updated : 06/04/2024 Last updated : 06/10/2024 Title: "View the list of OneDrive URLs for users in your organization"
- seo-marvel-apr2020 - onedrive-toc ms.assetid: 8e200cb2-c768-49cb-88ec-53493e8ad80a
-description: "In this article, you'll learn how to view the OneDrive URLs for users in your organization."
+description: "In this article, you learn how to view the OneDrive URLs for users in your organization."
-# View the list of OneDrive URLs for users in your organization
+# View OneDrive URLs for users in your organization
-This article is for SharePoint Administrators in Microsoft 365 who want to confirm the OneDrive URLs for users in their organization.
+As a SharePoint Administrator, you can confirm OneDrive URLs for specific users in your organization. Whether youΓÇÖre troubleshooting, provisioning new accounts, or simply ensuring accurate information, understanding the methods to retrieve OneDrive URLs is essential.
## About OneDrive URLs
The URL for a user's OneDrive is usually in the following format: `https://<tena
|`onmicrosoft.com` | `rsimone@contoso.onmicrosoft.com` | `https://contoso-my.sharepoint.com/personal/rsimone_contoso_onmicrosoft_com` | |custom | `rsimone@contoso.com` | `https://contoso-my.sharepoint.com/personal/rsimone_contoso_com` |
-Numbers or GUIDs might be appended to the URL if a conflict is detected, so it's always best to confirm a user's OneDrive URL if you need to specify it.
+Numbers or GUIDs might be appended to the URL if a conflict is detected. We recommend you confirm a user's OneDrive URL if you need to specify it.
> [!NOTE] > Unless OneDrive accounts are [pre-provisioned](pre-provision-accounts.md), the URL isn't created until a user accesses their OneDrive for the first time.
Numbers or GUIDs might be appended to the URL if a conflict is detected, so it's
![Table of URLs at the bottom of the OneDrive usage report](media/usage-report-table.png)
- If you see GUIDs in the table instead of URLs and names, go to the [Reports setting](https://admin.microsoft.com/Adminportal/Home?source=applauncher#/Settings/Services/:/Settings/L1/Reports) and clear the box **In all reports, display de-identified names for users, groups, and sites**.
+ If you see GUIDs in the table instead of URLs and names, go to the [Reports setting](https://admin.microsoft.com/Adminportal/Home?source=applauncher#/Settings/Services/:/Settings/L1/Reports) and clear the box **In all reports, display deidentified names for users, groups, and sites**.
You can copy individual OneDrive URLs from the URL column. For easier searching and copying, export the table as a .csv file. In the upper left of the table, select **Export**.
You can copy individual OneDrive URLs from the URL column. For easier searching
## Use PowerShell to create a list of all the OneDrive URLs in your organization
-<a name="BKMK_Step2"> </a>
-
-The list you create in these steps will be saved to a text file.
+The list you create in these steps are saved to a text file.
1. [Download the latest SharePoint Online Management Shell](https://go.microsoft.com/fwlink/p/?LinkId=255251).
The list you create in these steps will be saved to a text file.
Write-Host "Done! File saved as $($LogFile)." ```
-3. Open the SharePoint Online Management Shell. Navigate to the directory where the script has been saved and run:
+3. Open the SharePoint Online Management Shell. Navigate to the directory where the script was saved and run:
```PowerShell PS C:\>.\OneDriveSites.ps1 ``` > [!NOTE]
- > If you get an error message about being unable to run scripts, you might need to change your execution policies. For info, see [About Execution Policies](/powershell/module/microsoft.powershell.core/about/about_execution_policies).
+ > If an error message about being unable to run scripts appears, you'll need to change your execution policies. For more information, see [About Execution Policies](/powershell/module/microsoft.powershell.core/about/about_execution_policies).
-4. The script will prompt you for the SharePoint admin center URL. For example, `https://contoso-admin.sharepoint.com` is the Contoso SharePoint admin center URL.
+4. The script prompts you for the SharePoint admin center URL. For example, `https://contoso-admin.sharepoint.com` is the Contoso SharePoint admin center URL.
-5. You'll then be prompted to sign in. Use a SharePoint Administrator account.
+5. When prompted, sign in with your SharePoint Administrator account credentials.
After the script successfully completes, a text file is created in the location specified by the **$LogFile** variable in the script. This file contains a list of all OneDrive URLs in your organization. The following text provides an example of how the list of URLs in this file should be formatted.
https://contoso-my.sharepoint.com/personal/hollyh_contoso_onmicrosoft_com/
``` Once you have the URL for a user's OneDrive, you can get more info about it by using the [Get-SPOSite](/powershell/module/sharepoint-online/get-sposite) cmdlet, and change settings by using the [Set-SPOSite](/powershell/module/sharepoint-online/set-sposite) cmdlet.+
+### Other methods to retrieve OneDrive URLs
+
+#### Method 1: Using the **Diagnostic Information** section in OneDrive settings
+
+1. As an administrator of the OneDrive site, navigate to the site.
+2. In the upper right-hand corner, select the **Settings** icon.
+3. Select **OneDrive Settings** and **More Settings**.
+4. Under the **Diagnostic Information** section, copy the OneDrive Web URL.
+
+#### Method 2: Using PnP PowerShell (Get-PnPUserProfileProperty)
+
+PnP PowerShell is a versatile tool for managing SharePoint and OneDrive. To retrieve the PersonalURL (OneDrive URL) for a user, follow these steps:
+
+1. **Install PnP PowerShell** if you haven't already. Run the following command in PowerShell:
+
+ ```powershell
+ Install-Module PnP.PowerShell -Scope CurrentUser
+ ```
+
+ - If you need more details on installation, refer to the official PnP PowerShell installation guide.
+
+2. Run the following command:
+
+ ```powershell
+ Get-PnPUserProfileProperty -Account "user@example.com" | Select-Object -ExpandProperty PersonalUrl
+ ```
+
+ - Replace `"user@example.com"` with the actual user's email address.
+
+#### Method 3: Microsoft Graph API
+
+The Microsoft Graph API provides programmatic access to OneDrive and other Microsoft 365 services. To get the OneDrive URL using Graph API:
+
+1. **Install the Microsoft Graph PowerShell module** if you haven't already. Use this command:
+
+ ```powershell
+ Install-Module Microsoft.Graph
+ ```
+
+ - For step-by-step instructions, check out this tutorial on installing PnP PowerShell for SharePoint Online and Azure Cloud Shell.
+
+2. Authenticate and connect to Microsoft Graph:
+
+ ```powershell
+ Connect-MgGraph -Scopes "Directory.ReadWrite.All", "Sites.ReadWrite.All", "Files.ReadWrite.All"
+ ```
+
+3. Retrieve the OneDrive URL for a specific user:
+
+ ```powershell
+ $userPrincipalName = "user@example.com"
+ $userObject = Get-MgUser -Filter "userPrincipalName eq '$userPrincipalName'"
+ $userOneDrive = Get-MgUserDefaultDrive -UserId $userObject.id
+ $oneDriveWebUrl = $userOneDrive.webUrl
+ Write-Host "OneDrive WebURL for $userPrincipalName: $oneDriveWebUrl"
+ ```
SharePoint Sync Vdi Support https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/commits/public/SharePoint/SharePointOnline/sync-vdi-support.md
For all [supported operating systems](https://support.office.com/article/cc0cb2b
- Non-persistent virtual desktops that use [Azure Virtual Desktop](/azure/virtual-desktop). - Non-persistent virtual desktops that have [FSLogix Apps](/fslogix/configure-profile-container-tutorial) or [FSLogix Office Container](/fslogix/configure-office-container-tutorial), and a Microsoft 365 subscription for all of the following operating systems: - Windows 10 and 11, 32-bit or 64-bit (supports VMDK files)
+ - Windows Server 2022 (supports VHDX)
+
- Windows Server 2019 (supports VHDX) - Windows Server 2016 (supports VHDX) - Windows Server 2012 R2 (supports VHDX)