Forum Discussion
Announcement: New OneDrive Admin Center Preview
- Dec 15, 2016Hi Cary - here is TechNet article on how to enumerate domain guids.
https://technet.microsoft.com/en-us/library/dn938435.aspx
When I go in to limit which domains can sync it asks "Enter each domain as a GUID on a new line."
Where am I to find my domain's GUID?
- Sameer YadavDec 15, 2016MicrosoftHi Cary - here is TechNet article on how to enumerate domain guids.
https://technet.microsoft.com/en-us/library/dn938435.aspx- C_the_SDec 15, 2016Bronze Contributor
Doesn't work.
Tried using Administrative Windows Azure Active Directory Module for Windows Powershell. Connected to MSOL and the command Get-AdForest is not recognized.
- Sameer YadavDec 15, 2016MicrosoftHi Cary -
In the article above we mention the solution when encountering this issue - have you tried this?
If the following error message is displayed: "The term [Get-ADForest]' is not recognized as the name of a cmdlet, function, script file, or operable program.", you might not have the Active Directory module loaded that contains the Active Directory cmdlets. To resolve this error message, use the Import-Module ActiveDirectory command in Windows PowerShell window or open ActiveDirectory Module for Windows Powershell.
- Allen EscobarDec 17, 2016Copper Contributor
I followed the PS commands to get my local domain GUID, after which I added it to the "allow syncing to specific domains" in the OD4B Sync admin area, but it will not retain the settings even after clicking Save.
Tried several times, even had another Adminstrator try, but no luck. Everything looks correct, but when I go back and check, there is nothing listed. It simply will not save the domain GUID information. It doesnt even give an error message.
Am I doing something wrong?
Is anyone else having this same issue?
- Peter JohnsonDec 19, 2016Microsoft
Run get-addomain abd it will return the domain guid
- Jerry MeyerDec 19, 2016Iron Contributor
To be complete
Just copy paste this in powershell on your Domain controller
$domains = (Get-ADForest).Domains; foreach($d in $domains) {Get-ADDomain -Identity $d | Select ObjectGuid}
Great feature set in this admin portal.