Let’s assume that multiple accounts from multiple organizations are included in your Windows 10 computer. For some reason, you want to allow or block accounts of a specific organization from synchronizing files on your PC. You can take the help of this article to get the job done. Before getting started, you must note down the Tenant ID of the organization. Otherwise, you won’t be able to specify the organization. For your information, you can copy it from the Azure Active Directory admin center. Follow this link to get the Tenant ID in your clipboard. Precaution: Don’t forget to backup all Registry files and create a System Restore point to be on the safe side.
Allow or block syncing OneDrive accounts for specific organizations
To allow or block syncing OneDrive accounts for specific organizations, follow these steps- You will have to open the Registry Editor. For that, press Win+R, type regedit, and hit the Enter button. Click the Yes button in the UAC popup window. After opening the Registry Editor on your computer, navigate to the following path- If you cannot find OneDrive inside Microsoft, right-click on Microsoft > New > Key and name it as OneDrive. After that, right-click on OneDrive > New > Key. If you want to allow a specific organization, name it AllowTenantList. If you want to block a particular organization, call it BlockTenantList.
After that, right-click on AllowTenantList or BlockTenantList > New > String Value and name it as your Tenant ID. Then, right-click on this String Value, and set the Value data as your Tenant ID.
That’s all! Now check out the Local Group Policy method to get the job done.
Allow or block syncing OneDrive accounts for specific organizations
To allow or block syncing OneDrive accounts for specific organizations, follow these steps- Let’s check out these steps in detail. At first, press Win+R, type gpedit.msc, and hit the Enter button to open the Local Group Policy Editor on your computer. After opening it, navigate to the following path- Here you will get two settings named Allow syncing OneDrive accounts for only specific organizations and Block syncing OneDrive accounts for specific organization.
If you want to allow a specific organization, double-click on the first setting, select the Enabled option, and click the Show button.
Next, you will have to enter the Tenant ID in the Value field and click the OK button. Similarly, if you want to block a specific organization, double-click on the second setting, select the Enabled option, and go through the same steps as mentioned above. At last, click the Apply and OK buttons to save the change. That’s all! Hope it helps.