diff --git a/SharePoint/SharePointOnline/change-user-storage.md b/SharePoint/SharePointOnline/change-user-storage.md index 3139ed7402..295725b928 100644 --- a/SharePoint/SharePointOnline/change-user-storage.md +++ b/SharePoint/SharePointOnline/change-user-storage.md @@ -1,7 +1,7 @@ --- -ms.date: 09/01/2023 +ms.date: 09/16/2024 title: "Change a specific user's OneDrive storage space" -ms.reviewer: jmcdowe +ms.reviewer: pramod.balusu ms.author: mactra author: MachelleTranMSFT manager: jtremper @@ -23,119 +23,107 @@ ms.custom: - seo-marvel-apr2020 - onedrive-toc ms.assetid: 7448173d-a38c-48cf-acbb-09ac1b6237d4 -description: In this article, you'll learn how to change a user's OneDrive storage space. +description: In this article, you learn how to change a user's OneDrive storage space in Microsoft 365 using either PowerShell or the SharePoint admin center. --- # Change a specific user's OneDrive storage space -As a global or SharePoint admin in Microsoft 365, you can set the OneDrive storage space for a specific user. - -> [!NOTE] -> For info about setting the default storage space, see [Set the default storage space for OneDrive users](set-default-storage-space.md). For info about the storage available for your Microsoft 365 subscription, see the [OneDrive service description](/office365/servicedescriptions/onedrive-for-business-service-description). +As an IT administrator, you can adjust a user's OneDrive storage space using the SharePoint admin center or PowerShell. > [!NOTE] -> If your organization is configured for multi-geo, you need to use PowerShell to change a user's OneDrive storage space. Editing storage limits isn't available in the Microsoft 365 admin center. +> For setting the default storage space for all users, see [Set the default storage space for OneDrive users](set-default-storage-space.md). For details on available storage for your Microsoft 365 subscription, see the [OneDrive service description](/office365/servicedescriptions/onedrive-for-business-service-description). > [!IMPORTANT] -> If a user has run out of storage, consider instructing them to proactively identify and review items that are taking up space by following the instructions at [Manage your OneDrive for work](https://support.microsoft.com/en-us/office/manage-your-onedrive-for-work-or-school-storage-31519161-059c-4764-b6f8-f5cd29f7fe68). +> If a user has run out of storage, advise them to proactively review and manage their storage. Instructions can be found at [Manage your OneDrive for work](https://support.microsoft.com/office/manage-your-onedrive-for-work-or-school-storage-31519161-059c-4764-b6f8-f5cd29f7fe68). -## Change a user's storage space in the Microsoft 365 admin center +## Change storage space in the Microsoft 365 admin center -1. Sign in to as a global or SharePoint admin. (If you see a message that you don't have permission to access the page, you don't have Microsoft 365 admin permissions in your organization.) +1. Sign in to the [Microsoft 365 admin center](https://admin.microsoft.com) with your admin credentials. -> [!NOTE] -> If you have Office 365 operated by 21Vianet (China), [sign in](https://login.partner.microsoftonline.cn/). Then, select the Admin tile to open the admin center. + > [!NOTE] + > For Office 365 operated by 21Vianet (China), [sign in here](https://login.partner.microsoftonline.cn). -2. In the left pane, select **Users** \> **Active users**. +2. In the left pane, expand **Users** and select **Active users**. -3. Select the user. +3. Select the user whose storage you want to change. -4. Select the **OneDrive** tab. +4. Go to the **OneDrive** tab. -5. Under **Storage used** select **Edit**. +5. Under **Storage used**, select **Edit**. -6. Select the **Maximum storage for this user** option, and type the storage limit that you want to use. +6. Choose the **Maximum storage for this user** option and set the storage limit. 7. Select **Save**. - ![Screenshot of the OneDrive storage settings in the Microsoft 365 admin center](media/edit-user-storage-limit.png) - -When you need cloud storage for individual users beyond the initial 5 TB, additional cloud storage is granted as follows: + ![OneDrive storage settings screenshot](media/edit-user-storage-limit.png) -- When a user has filled their 5 TB of OneDrive storage to at least 90% capacity, Microsoft will increase your default storage space in OneDrive to up to 25 TB per user (admins might set a lower per-user limit if they want to). The storage limit is reset to 5 TB if OneDrive storage utilization drops below 90% of the 5 TB capacity. +When users need more storage beyond the initial 5 TB, Microsoft increases their storage as follows: -- For any user that reaches at least 90% capacity of their 25 TB of OneDrive storage, additional cloud storage will be provided as 25 TB SharePoint team sites to individual users. For more information and assistance, contact [Microsoft Support](https://go.microsoft.com/fwlink/?linkid=869559). - -- Admins can check for OneDrive eligibility beyond 5 TB via [Check OneDrive site eligibility for increased storage](/sharepoint/troubleshoot/storage/check-storage-increase-eligibility). +- When a user reaches 90% of their 5 TB capacity, Microsoft increases their storage to up to 25 TB. Admins can set a lower limit if desired. +- If usage drops below 90%, storage limit resets to 5 TB. +- For users reaching 90% of their 25 TB capacity, more storage is provided via SharePoint team sites. Contact [Microsoft Support](https://go.microsoft.com/fwlink/?linkid=869559) for assistance. > [!NOTE] - > For Office 365 A1 users, the OneDrive storage limit is up to 100 GB. For details, see [Office 365 Education service descriptions](/office365/servicedescriptions/office-365-platform-service-description/office-365-education). + > For Office 365 A1 users, storage is limited to 100 GB. For more information, see [Office 365 Education service descriptions](/office365/servicedescriptions/office-365-platform-service-description/office-365-education). -## Change a user's storage space by using PowerShell +## Change storage space using PowerShell 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." + > Uninstall any previous versions of the SharePoint Online Management Shell before installing the latest version. -2. Save the following script as a PowerShell file. For example, you could save it to a file named UpdateOneDriveStorage.ps1. +2. Save the following PowerShell script to a file (for example, you can save it as _UpdateOneDriveStorage.ps1_): ```PowerShell - $TenantUrl = Read-Host "Enter the SharePoint admin center URL" - Connect-SPOService -Url $TenantUrl - - $OneDriveSite = Read-Host "Enter the OneDrive Site URL" - $OneDriveStorageQuota = Read-Host "Enter the OneDrive Storage Quota in MB" - $OneDriveStorageQuotaWarningLevel = Read-Host "Enter the OneDrive Storage Quota Warning Level in MB" - Set-SPOSite -Identity $OneDriveSite -StorageQuota $OneDriveStorageQuota -StorageQuotaWarningLevel $OneDriveStorageQuotaWarningLevel - Write-Host "Done" + $TenantUrl = Read-Host "Enter the SharePoint admin center URL" + Connect-SPOService -Url $TenantUrl + + $OneDriveSite = Read-Host "Enter the OneDrive Site URL" + $OneDriveStorageQuota = Read-Host "Enter the OneDrive Storage Quota in MB" + $OneDriveStorageQuotaWarningLevel = Read-Host "Enter the OneDrive Storage Quota Warning Level in MB" + Set-SPOSite -Identity $OneDriveSite -StorageQuota $OneDriveStorageQuota -StorageQuotaWarningLevel $OneDriveStorageQuotaWarningLevel + Write-Host "Done" ``` -3. Open the SharePoint Online Management Shell. Run the script in the location you saved it. +3. Open the SharePoint Online Management Shell and run the script: ```PowerShell - PS C:\>.\ UpdateOneDriveStorage.ps1 + PS C:\>.\UpdateOneDriveStorage.ps1 ``` > [!NOTE] - > If you get an error message about being unable to run scripts, you might need to change your execution policies. For more info about PowerShell execution policies, see [About Execution Policies](/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.1&preserve-view=true). - -4. When prompted, enter the SharePoint admin center URL. For example, `https://contoso-admin.sharepoint.com` is the Contoso SharePoint admin center URL. - -5. Sign in as a global or SharePoint admin in Microsoft 365. + > If you receive an error regarding script execution, you may need to adjust your PowerShell execution policies. For more information, see [About execution policies](/powershell/module/microsoft.powershell.core/about/about_execution_policies). -6. Enter the OneDrive site URL: For example, `https://contoso-my.sharepoint.com/personal/user_contoso_onmicrosoft_com`. +4. Enter the required values when prompted, including: + - The SharePoint admin center URL (for example, `https://contoso-admin.sharepoint.com`) + - The OneDrive site URL (for example, `https://contoso-my.sharepoint.com/personal/user_contoso_onmicrosoft_com`) + - Storage Quota in MB + - Storage Quota Warning Level in MB -7. Enter the OneDrive Storage Quota in MB. +Here's a reference table for MB to TB conversions: -8. Enter the OneDrive Storage Quota Warning Level in MB. - - | MB | TB | - | ------------- | ------------- | - | 1048576 | 1 | - | 2097152 | 2 | - | 3145728 | 3 | - | 4194304 | 4 | - | 5242880 | 5 | - | 6291456 | 6 | - | 7340032 | 7 | - | 8388608 | 8 | - | 9437184 | 9 | - | 10485760 | 10 | +| MB | TB | +| --------- |--| +| 1,048,576 | 1 | +| 2,097,152 | 2 | +| 3,145,728 | 3 | +| 4,194,304 | 4 | +| 5,242,880 | 5 | > [!NOTE] -> To change the storage space for multiple users, use PowerShell to [Display a list of OneDrive accounts by using PowerShell](list-onedrive-urls.md) and use [Set-SPOSite](/powershell/module/sharepoint-online/set-sposite?preserve-view=true&view=sharepoint-ps&preserve-view=true) to make the change. +> To change storage space for multiple users, you can list OneDrive accounts via PowerShell and use the [Set-SPOSite](/powershell/module/sharepoint-online/set-sposite) command to apply changes. -## Diagnose issues with changing the OneDrive storage +## Troubleshooting OneDrive storage issues -If you are attempting to change the OneDrive storage for a user and are not able to do so or the storage amount reverts to the original value, a Microsoft 365 administrator can run tests to determine what might be preventing the storage from changing. +If you encounter issues when adjusting storage or if the storage amount reverts to its original value, a Microsoft 365 administrator can run diagnostics in the admin center. -> [!NOTE] -> If you're an administrator and you're having trouble changing the OneDrive storage for a user or the storage amount reverts to the original value, select **Run Tests** below, which will populate the OneDrive storage quota diagnostic in the Microsoft 365 admin center. These tests will help determine what may be preventing the storage from changing and recommend steps for a resolution. ->> [!div class="nextstepaction"] ->> [Run Tests: Check OneDrive Storage Quota](https://aka.ms/PillarOneDriveQuota) +1. In the Microsoft 365 admin center, select **Run Tests** to launch the OneDrive storage quota diagnostic. -> [!NOTE] -> This diagnostic isn’t supported for GCC High, DoD, Microsoft 365 operated by 21Vianet, or Microsoft 365 Education. + > [!NOTE] + > Diagnostics are unavailable for GCC High, DoD, Microsoft 365 operated by 21Vianet, or Microsoft 365 Education. + +2. Follow the recommendations provided by the diagnostic. -> To disable OneDrive creation for specific users, see [Manage user profiles in the SharePoint admin center](/sharepoint/manage-user-profiles). + > [!NOTE] + > For information on disabling OneDrive creation for specific users, see [Manage user profiles in the SharePoint admin center](/sharepoint/manage-user-profiles). diff --git a/SharePoint/SharePointOnline/enable-conditional-access.md b/SharePoint/SharePointOnline/enable-conditional-access.md index 0180bd5908..c95fc6748f 100644 --- a/SharePoint/SharePointOnline/enable-conditional-access.md +++ b/SharePoint/SharePointOnline/enable-conditional-access.md @@ -1,7 +1,7 @@ --- -ms.date: 10/01/2023 +ms.date: 09/18/2024 title: "Enable conditional access support in the OneDrive sync app" -ms.reviewer: +ms.reviewer: wsproule ms.author: mactra author: MachelleTranMSFT manager: jtremper @@ -70,7 +70,7 @@ The following are known issues with this release: Let us know if you run into any problems while using this release. - **To report a problem** + To report a problem 1. Right-click the blue OneDrive cloud icon in the Windows taskbar notification area or macOS menu bar. diff --git a/SharePoint/SharePointOnline/enable-file-requests.md b/SharePoint/SharePointOnline/enable-file-requests.md index aae71309f4..c431d3c4aa 100644 --- a/SharePoint/SharePointOnline/enable-file-requests.md +++ b/SharePoint/SharePointOnline/enable-file-requests.md @@ -1,7 +1,7 @@ --- -ms.date: 10/01/2023 +ms.date: 09/16/2024 title: "Enable File Requests in SharePoint or OneDrive" -ms.reviewer: +ms.reviewer: srice ms.author: mactra author: MachelleTranMSFT manager: jtremper @@ -24,84 +24,59 @@ ms.assetid: description: Learn how to enable a file request in OneDrive or Sharepoint. --- -# Enable File Requests in SharePoint or OneDrive +# Enable file requests in SharePoint or OneDrive -With the [file request feature](https://support.microsoft.com/office/create-a-file-request-f54aa7f8-2589-4421-b351-d415fc3b83af) in OneDrive or SharePoint, you can choose a folder where others can upload files using a link that you send them. People you request files from can only upload files; they can't see the content of the folder, edit, delete, or download files, or even see who else has uploaded files. +With the [file request feature](https://support.microsoft.com/office/create-a-file-request-f54aa7f8-2589-4421-b351-d415fc3b83af) in OneDrive or SharePoint, users can request files by sending a link where others can upload files. When users upload files, they can't view, edit, delete, or download files in the folder or see who else has uploaded. -Admins can use the SharePoint Online Management Shell to disable or enable the **Request files** feature on OneDrive or SharePoint sites. If there's no change on sharing capability for all sites, then the file request feature can be enabled. +Admins can manage the **Request files** feature via the SharePoint Online Management Shell. > [!IMPORTANT] -> **Request files** is available only if all of the following statement are true. Please contact your admin if you don't see this feature: +> File request is only available if: > -> - You're using OneDrive for work or school accounts. -> - Your admin has [enabled **Anyone** links for SharePoint](/sharepoint/turn-external-sharing-on-or-off). -> - Your admin has configured the **View, edit, and upload** permission for **Anyone** links as described in [Advanced settings for **Anyone** links](/sharepoint/turn-external-sharing-on-or-off#advanced-settings-for-anyone-links). -> - Your admin hasn't configured [Allow only members in specific security groups to share SharePoint and OneDrive files and folders externally](manage-security-groups.md). -> - This feature is not available for Office 365 operated by 21Vianet, OneDrive for home, or Office 365 Germany. +> - You’re using OneDrive for work or school. +> - The admin has [enabled **Anyone** links](/sharepoint/turn-external-sharing-on-or-off). +> - Folder permissions are set to **View, edit, and upload** for **Anyone** links. +> - **Allow only specific security groups** isn’t enabled. +> - Not available for Office 365 operated by 21Vianet, OneDrive for home, or Office 365 Germany. > [!NOTE] -> In its current state, if you disable **Anyone** links for SharePoint in the SharePoint Admin Center, the ability to turn on **Request files** feature is also disabled at Site, SharePoint and OneDrive level. +> Disabling **Anyone** links also disables **Request files** on SharePoint and OneDrive. -## Enable or Disable Request Files for SharePoint +## Enable or disable request files for SharePoint -> [!NOTE] -> If you do not want File Requests to appear on SharePoint sites, you can opt out by running the following SharePoint Online management shell command: "Set-SPOTenant -CoreRequestFilesLinkEnabled $False". - -1. Check if you have enabled [**Anyone** links at the tenant level for SharePoint sites](/sharepoint/turn-external-sharing-on-or-off#change-the-organization-level-external-sharing-setting). - -2. Ensure folder permissions are set to **View, edit and upload**. - - ![Screenshot for folder permissions settings.](media/select-folder.png) - -3. Check `CoreRequestFilesLinkEnabled` is set correctly via [SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online). +To manage **Request files** for SharePoint: +1. Ensure [**Anyone** links are enabled](/sharepoint/turn-external-sharing-on-or-off#change-the-organization-level-external-sharing-setting). +2. Set folder permissions to **View, edit, and upload**. +3. Verify `CoreRequestFilesLinkEnabled` is **True** via the SharePoint Online Management Shell: - Run `Get-SPOTenant`. + - If not set to **True**, use `Set-SPOTenant -CoreRequestFIlesLinkEnabled $True`. - - Check if `CoreRequestFilesLinkEnabled` is set to **True**. If it isn't set to **True**, run `Set-SPOTenant -CoreRequestFIlesLinkEnabled $True`. - - - If this is set to **True**, **Request files** link on the core partition for all SharePoint sites is enabled (not including OneDrive sites). If this value isn't set, **Request files** will only show for OneDrive with **Anyone** links enabled. - -4. You can also set the `RequestFilesLink` Expiration by using `Set-SPOTenant -CoreRequestFilesLinkExpirationInDays` (Optional). +(Optional) Set link expiration using `Set-SPOTenant -CoreRequestFilesLinkExpirationInDays`. ## Enable or Disable Request Files for OneDrive -1. Check if you have enabled [**Anyone** links at the tenant level for SharePoint sites](/sharepoint/turn-external-sharing-on-or-off#change-the-organization-level-external-sharing-setting). - -2. Ensure folder permissions are set to **View, edit and upload**. - - ![Screenshot for folder permissions settings.](media/select-folder.png) - -3. Configure OneDrive **Anyone** links at tenant level to your desired preference. It's only required that SharePoint **Anyone** links setting are configured to the most permissive (Anyone) at the tenant level. - -4. For example, you can set OneDrive sharing capability to **New and Existing guests** and still allow OneDrive File Requests by following the instructions below as long as SharePoint **Anyone** links are turned on. - - ![Screenshot for setting OneDrive sharing capability.](media/content.png) - -5. Check `OneDriveRequestFilesLinkEnabled` is set correctly via [SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online). +To manage **Request files** for OneDrive: +1. Enable [**Anyone** links](/sharepoint/turn-external-sharing-on-or-off#change-the-organization-level-external-sharing-setting). +2. Set folder permissions to **View, edit, and upload**. +3. Configure **Anyone** links for OneDrive at the tenant level. +4. Verify `OneDriveRequestFilesLinkEnabled` is **True** via the SharePoint Online Management Shell: - Run `Get-SPOTenant`. + - If not set to **True**, use `Set-SPOTenant -OneDriveRequestFilesLinkEnabled $True`. - - Check if `OneDriveRequestFilesLinkEnabled` is set to **True**. If it isn't set to **True**, run `Set-SPOTenant -OneDriveRequestFIlesLinkEnabled $True`. - - - If this is set to **True**, **Request files** link on the OneDrive partition for all OneDrive sites will be available. If this value isn't set, the **Request files** link will be disabled on OneDrive. - -6. You can also set the **Request files** Links to expire by using `Set-SPOTenant – OneDriveRequestFilesLinkExpirationInDays` (Optional). - -## Enable or Disable Request Files per site - -1. Check if you have enabled [Anyone links at the tenant level for SharePoint sites](/sharepoint/turn-external-sharing-on-or-off#change-the-organization-level-external-sharing-setting). - -2. Ensure folder permissions are set to **View, edit and upload** at Tenant Level in SharePoint tenant admin. +(Optional) Set link expiration using `Set-SPOTenant -OneDriveRequestFilesLinkExpirationInDays`. - ![Screenshot for folder permissions settings.](media/select-folder.png) +## Enable or Disable Request Files per Site -3. Check if `RequestFilesLinkEnabled` is set correctly via [SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online). +To manage **Request files** for a specific site: +1. Ensure [**Anyone** links are enabled](/sharepoint/turn-external-sharing-on-or-off#change-the-organization-level-external-sharing-setting). +2. Set folder permissions to **View, edit, and upload**. +3. Verify `RequestFilesLinkEnabled` is **True** via the SharePoint Online Management Shell: - Run `$r=Get-SPOSite -Identity -Detailed`. + - If not set to **True**, use `Set-SPOSite -RequestFIlesLinkEnabled $True`. - - Check if `RequestFilesLinkEnabled` is set to **True**. If it isn't set to **True**, run `Set-SPOSite -Identity -RequestFIlesLinkEnabled $True` to enable the feature for that site and set it to **False** to disable it. +(Optional) Set link expiration using `Set-SPOSite -RequestFilesLinkExpirationInDays`. -4. You can also set the **Request Files** link Expiration by using `Set-SPOSite -RequestFilesLinkExpirationInDays` (Optional). - -For more information on File Requests, see [Create a file request](https://support.microsoft.com/office/create-a-file-request-f54aa7f8-2589-4421-b351-d415fc3b83af). - \ No newline at end of file +For more information on file requests, see [Create a file request](https://support.microsoft.com/office/create-a-file-request-f54aa7f8-2589-4421-b351-d415fc3b83af). diff --git a/SharePoint/SharePointOnline/exclude-or-uninstall-previous-sync-client.md b/SharePoint/SharePointOnline/exclude-or-uninstall-previous-sync-client.md index dd22319f00..868b0d16bb 100644 --- a/SharePoint/SharePointOnline/exclude-or-uninstall-previous-sync-client.md +++ b/SharePoint/SharePointOnline/exclude-or-uninstall-previous-sync-client.md @@ -1,5 +1,5 @@ --- -ms.date: 11/14/2023 +ms.date: 09/18/2024 title: "Control Groove.exe installation when deploying Office using Click-to-Run" ms.reviewer: kafeaver ms.author: mactra @@ -44,12 +44,12 @@ These changes don't affect your organization if you're already using the new One If your organization provides an Office deployment configuration file to Setup.exe, add this to your config file to exclude Groove in your deployment: -``` +` -``` +` For more info about configuration options, see [Configuration options for the Office Deployment Tool](/deployoffice/office-deployment-tool-configuration-options). @@ -69,12 +69,12 @@ The following table shows more detail about which Office installations were affe |**Office version**|**Groove.exe is no longer installed by default**|**Groove.exe is uninstalled on next update if not in use for 30 days**| |---------|---------|---------| -|MSI (all versions)
|Not applicable
|Not applicable
| -|Office 2013 Click-to-Run
|Not applicable
|Not applicable
| -|Office 2016 Click-to-Run - Office Insider
|Sept. 2017 - Version 1710 (Build 8530.1000)
|Sept. 2017 - Version 1710 (Build 8530.1000)
| -|Office 2016 Click-to-Run - Monthly Channel
|Oct. 2017 - Version 1709 (Build 8528.2139)
|Oct. 2017 - Version 1709 (Build 8528.2139)
| -|Office 2016 Click-to-Run - Semi-Annual Enterprise Channel (Preview)
|Sept. 2018 - Version 1808 (Build 10730.20102)
|Sept. 2018 - Version 1808 (Build 10730.20102)
| -|Office 2016 Click-to-Run - Semi-Annual Enterprise Channel
|Jan. 2019 - Version 1808 (Build 10730.20264)
|Jan. 2019 - Version 1808 (Build 10730.20264)
| +|MSI (all versions) |Not applicable |Not applicable | +|Office 2013 Click-to-Run |Not applicable |Not applicable | +|Office 2016 Click-to-Run - Office Insider |Sept. 2017 - Version 1710 (Build 8530.1000) |Sept. 2017 - Version 1710 (Build 8530.1000) | +|Office 2016 Click-to-Run - Monthly Channel |Oct. 2017 - Version 1709 (Build 8528.2139) |Oct. 2017 - Version 1709 (Build 8528.2139) | +|Office 2016 Click-to-Run - Semi-Annual Enterprise Channel (Preview) |Sept. 2018 - Version 1808 (Build 10730.20102) |Sept. 2018 - Version 1808 (Build 10730.20102) | +|Office 2016 Click-to-Run - Semi-Annual Enterprise Channel |Jan. 2019 - Version 1808 (Build 10730.20264) |Jan. 2019 - Version 1808 (Build 10730.20264) | For more info about Office channels, see [Overview of update channels for Microsoft 365 Apps for enterprise]( /deployoffice/overview-update-channels). diff --git a/SharePoint/SharePointOnline/files-on-demand-mac.md b/SharePoint/SharePointOnline/files-on-demand-mac.md index cc654b6dc2..e5db951ecb 100644 --- a/SharePoint/SharePointOnline/files-on-demand-mac.md +++ b/SharePoint/SharePointOnline/files-on-demand-mac.md @@ -1,5 +1,5 @@ --- -ms.date: 11/14/2023 +ms.date: 09/18/2024 title: "Set Files On-Demand states on Mac" ms.reviewer: cagreen ms.author: mactra @@ -29,6 +29,7 @@ description: "Learn how to query and set file and folder states when you use One # Query and set Files On-Demand states on Mac With OneDrive Files On-Demand, files can be in one of three states. Each of these states corresponds to a file attribute state. + To query the current state of a file or folder, use the following command: - /Applications/OneDrive.App/Contents/MacOS/OneDrive /getpin \ diff --git a/SharePoint/SharePointOnline/files-on-demand-windows.md b/SharePoint/SharePointOnline/files-on-demand-windows.md index 9d912fc2e3..c3d77e8d54 100644 --- a/SharePoint/SharePointOnline/files-on-demand-windows.md +++ b/SharePoint/SharePointOnline/files-on-demand-windows.md @@ -1,7 +1,7 @@ --- -ms.date: 11/14/2023 +ms.date: 09/01/2024 title: "Set Files On-Demand states in Windows" -ms.reviewer: +ms.reviewer: kafeaver ms.author: mactra author: MachelleTranMSFT manager: jtremper diff --git a/SharePoint/SharePointOnline/network-utilization-planning.md b/SharePoint/SharePointOnline/network-utilization-planning.md index 2683e65789..01252e29fa 100644 --- a/SharePoint/SharePointOnline/network-utilization-planning.md +++ b/SharePoint/SharePointOnline/network-utilization-planning.md @@ -1,7 +1,7 @@ --- -ms.date: 11/14/2023 +ms.date: 09/01/2024 title: "Network utilization planning for the OneDrive sync app" -ms.reviewer: +ms.reviewer: kafeaver ms.author: mactra author: MachelleTranMSFT manager: jtremper diff --git a/SharePoint/SharePointOnline/redirect-known-folders-macos.md b/SharePoint/SharePointOnline/redirect-known-folders-macos.md index ced0239812..d8174a6d60 100644 --- a/SharePoint/SharePointOnline/redirect-known-folders-macos.md +++ b/SharePoint/SharePointOnline/redirect-known-folders-macos.md @@ -1,5 +1,5 @@ --- -ms.date: 11/14/2023 +ms.date: 09/16/2024 title: "Redirect and move macOS known folders to OneDrive" ms.reviewer: cagreen ms.author: mactra diff --git a/SharePoint/SharePointOnline/sync-process.md b/SharePoint/SharePointOnline/sync-process.md index 5def823f3b..1c43bd6a70 100644 --- a/SharePoint/SharePointOnline/sync-process.md +++ b/SharePoint/SharePointOnline/sync-process.md @@ -1,7 +1,7 @@ --- -ms.date: 11/14/2023 +ms.date: 09/14/2024 title: "How sync works" -ms.reviewer: +ms.reviewer: kafeaver ms.author: mactra author: MachelleTranMSFT manager: jtremper diff --git a/SharePoint/SharePointOnline/transition-from-previous-sync-client.md b/SharePoint/SharePointOnline/transition-from-previous-sync-client.md index e63b9ec94a..bfad3a4a0f 100644 --- a/SharePoint/SharePointOnline/transition-from-previous-sync-client.md +++ b/SharePoint/SharePointOnline/transition-from-previous-sync-client.md @@ -1,7 +1,7 @@ --- -ms.date: 11/14/2023 +ms.date: 09/18/2024 title: "Transition from the previous OneDrive for Business sync app" -ms.reviewer: +ms.reviewer: kafeaver ms.author: mactra author: MachelleTranMSFT manager: jtremper diff --git a/content_analyzer.py b/content_analyzer.py new file mode 100644 index 0000000000..c4f8ba2207 --- /dev/null +++ b/content_analyzer.py @@ -0,0 +1,51 @@ +import os +import re +from collections import defaultdict + +def read_file(file_path): + with open(file_path, 'r', encoding='utf-8') as file: + return file.read() + +def extract_keywords(text): + # This is a basic keyword extraction. You might want to improve this. + words = re.findall(r'\b\w+\b', text.lower()) + return [word for word in words if len(word) > 3] + +def analyze_content(directory): + content_map = defaultdict(list) + + for filename in os.listdir(directory): + if filename.endswith('.md'): # Changed to .md for Markdown files + file_path = os.path.join(directory, filename) + content = read_file(file_path) + keywords = extract_keywords(content) + + for keyword in keywords: + content_map[keyword].append(filename) + + return content_map + +def find_similar_articles(content_map, threshold=5): + similar_articles = [] + + for keyword, articles in content_map.items(): + if len(articles) > 1: + for i in range(len(articles)): + for j in range(i+1, len(articles)): + pair = (articles[i], articles[j]) + if pair not in similar_articles: + similar_articles.append(pair) + + return [pair for pair in similar_articles if len(set(content_map.keys()) & set(extract_keywords(read_file(os.path.join('articles', pair[0]))) & set(extract_keywords(read_file(os.path.join('articles', pair[1]))))) > threshold] + +def main(): + directory = 'articles' # Replace with the path to your articles + content_map = analyze_content(directory) + similar_articles = find_similar_articles(content_map) + + print("Potentially similar articles:") + for article1, article2 in similar_articles: + print(f"{article1} and {article2}") + +if __name__ == "__main__": + main() \ No newline at end of file