Service | Microsoft Docs article | Related commit history on GitHub | Change details |
---|---|---|---|
SharePoint | Find Your Office 365 Tenant Id | https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/commits/public/SharePoint/SharePointOnline/find-your-office-365-tenant-id.md | Previously updated : 07/17/2023 Last updated : 02/25/2024 Title: "Find your Microsoft 365 tenant ID" --++ audience: Admin f1.keywords: -description: "Learn how to find the Microsoft 365 tenant ID." +description: "Learn how to find the Microsoft 365 tenant ID using the Microsoft Entra admin center." # Find your Microsoft 365 tenant ID -Your Microsoft 365 tenant ID is a globally unique identifier (GUID) that is different than your organization name or domain. You may need this identifier when you configure OneDrive policies. +Your Microsoft 365 tenant ID is a globally unique identifier (GUID) that is different than your organization name or domain. You can use this identifier when you configure OneDrive policies. -**To find your Microsoft 365 tenant ID in the Microsoft Entra admin center** +## Find your Microsoft 365 tenant ID in the Microsoft Entra admin center Your tenant ID can be found in the **Tenant ID** box on the [Overview page](https://entra.microsoft.com/#view/Microsoft_AAD_IAM/TenantOverview.ReactView). -![The Directory Properties pane in the Azure Admin Center dashboard](media/tenant-id-image.png) +![Screenshot that shows the Directory Properties pane in the Entra Admin Center dashboard](media/find-m365-tenant-id-dashboard.png) > [!NOTE] > For info about finding your tenant ID by using PowerShell instead, first read [Microsoft Graph PowerShell](/powershell/microsoftgraph/installation?view=graph-powershell-1.0&preserve-view=true) and then use [Get-MgOrganization](/powershell/module/microsoft.graph.identity.directorymanagement/get-mgorganization?view=graph-powershell-1.0&preserve-view=true). |
SharePoint | Restore Deleted Onedrive | https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/commits/public/SharePoint/SharePointOnline/restore-deleted-onedrive.md | Previously updated : 07/11/2018 Last updated : 02/25/2024 Title: "Restore a deleted OneDrive" --++ audience: Admin f1.keywords: description: Learn how to restore a deleted user's OneDrive when the deleted use # Restore a deleted OneDrive -When you delete a user in the Microsoft 365 admin center (or when a user is removed through Active Directory synchronization), the user's OneDrive will be retained for the number of days you specify in the <a href="https://go.microsoft.com/fwlink/?linkid=2185219" target="_blank">SharePoint admin center</a>. (For info, see [Set the default file retention for deleted OneDrive users](set-retention.md).) The default is 30 days. During this time, shared content can still be accessed by other users. At the end of the time, the OneDrive will be in a deleted state for 93 days and can only be restored by a global or SharePoint admin. +When you delete a user in the Microsoft 365 admin center (or when a user is removed through Active Directory synchronization), the user's OneDrive is retained for the number of days you specify in the <a href="https://go.microsoft.com/fwlink/?linkid=2185219" target="_blank">SharePoint admin center</a>. (For info, see [Set the default file retention for deleted OneDrive users](set-retention.md).) The default is 30 days. During this time, other users can still access shared content. At the end of the time period, the OneDrive remains in a deleted state for 93 days and can only be restored by a global or SharePoint admin. For info about using Files Restore to restore a OneDrive to a previous point in time, see [Restore your OneDrive](https://support.office.com/article/fa231298-759d-41cf-bcd0-25ac53eb8a15). For info about restoring items from the recycle bin in OneDrive, see [Restore de ## Restore a deleted OneDrive when the deleted user no longer appears in the Microsoft 365 admin center -If the user was deleted within 30 days, you can restore the user and all their data from the Microsoft 365 admin center. To learn how, see [Restore a user in Microsoft 365](/office365/admin/add-users/restore-user). If you deleted the user more than 30 days ago, the user will no longer appear in the Microsoft 365 admin center, and you'll need to use PowerShell to restore the OneDrive. +If the user was deleted within 30 days, you can restore the user and all their data from the Microsoft 365 admin center. To learn how, see [Restore a user in Microsoft 365](/office365/admin/add-users/restore-user). If you deleted the user more than 30 days ago, the user will no longer appear in the Microsoft 365 admin center, and you need to use PowerShell to restore the OneDrive. 1. [Download the latest SharePoint Online Management Shell](https://go.microsoft.com/fwlink/p/?LinkId=255251). > [!NOTE]- > If you installed a previous version of the SharePoint Online Management Shell, go to Add or remove programs and uninstall "SharePoint Online Management Shell." + > If you installed a previous version of the SharePoint Online Management Shell, go to Add or remove programs and uninstall "SharePoint Online Management Shell." 2. Connect to SharePoint as a [global admin or SharePoint admin](/sharepoint/sharepoint-admin-role) in Microsoft 365. To learn how, see [Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online). If the user was deleted within 30 days, you can restore the user and all their d Get-SPODeletedSite -Identity <URL> ``` - A user's OneDrive URL is based on their username. For example, - `https://contoso-my.sharepoint.com/personal/user1_contoso_com`. You can find their username on the Active users (or Deleted users) page in the Microsoft 365 admin center. + A user's OneDrive URL is based on their username. For example, + `https://contoso-my.sharepoint.com/personal/user1_contoso_com`. You can find their username on the Active users (or Deleted users) page in the Microsoft 365 admin center. - If you don't know the URL of the deleted OneDrive, run the following command: Remove-SPODeletedSite -Identity <URL> [OneDrive retention and deletion](retention-and-deletion.md)</br> [Manage site redirects](manage-site-redirects.md)- |