sted Posted December 5, 2019 Posted December 5, 2019 In the powershell script don't put the spaces in the sitename variable so just have it as testshareddrive and see what you get. ive just created a test2 and that dumps the output fine. I did notice in the address bar of the older one it dosent say sites\name the new one does. i wonder if because i created that sharepoint site years ago for something they have made changes. im now going to try and use test 2 see if that maps
lmrogers Posted December 5, 2019 Posted December 5, 2019 To get the Copy Library ID link to appear I had to set these to options in the SharePoint Online Management Shell Set-SPOTenantSyncClientRestriction -GrooveBlockOption "HardOptIn" and Set-SPOTenantSyncClientRestriction -GrooveBlockOption "SoftOptIn" Also from the SharePoint Admin settings page make sure OneDrive for Business Experience is set yo "New experience"
sted Posted December 5, 2019 Posted December 5, 2019 To get the Copy Library ID link to appear I had to set these to options in the SharePoint Online Management Shell Set-SPOTenantSyncClientRestriction -GrooveBlockOption "HardOptIn" and Set-SPOTenantSyncClientRestriction -GrooveBlockOption "SoftOptIn" Also from the SharePoint Admin settings page make sure OneDrive for Business Experience is set yo "New experience" no idea about the top 2 ive downloaded SharePoint Online Management Shell but have no idea what to do with it as to the bottom one like this? sorry i dont really deal with sharepoint much/at all and i thought this would be a ot simpler than it seems to be lol
lmrogers Posted December 5, 2019 Posted December 5, 2019 no idea about the top 2 ive downloaded SharePoint Online Management Shell but have no idea what to do with it as to the[ATTACH=CONFIG]55941[/ATTACH] bottom one like this? sorry i dont really deal with sharepoint much/at all and i thought this would be a ot simpler than it seems to be lol So on the SharePoint Admin page that you screenshotted there, also under Sync Client for Sharepoint, make sure you select "Start the new Client". With the SharePoint Online Powershell module, run the following commands in order. Connect-SPOService This will ask for the URL of the SharePoint admin center. It should be https://DOMAIN-admin.sharepoint.com Set-SPOTenantSyncClientRestriction -GrooveBlockOption "HardOptIn" Set-SPOTenantSyncClientRestriction -GrooveBlockOption "SoftOptIn"
sted Posted December 5, 2019 Posted December 5, 2019 So on the SharePoint Admin page that you screenshotted there, also under Sync Client for Sharepoint, make sure you select "Start the new Client". With the SharePoint Online Powershell module, run the following commands in order. Connect-SPOService This will ask for the URL of the SharePoint admin center. It should be https://DOMAIN-admin.sharepoint.com Set-SPOTenantSyncClientRestriction -GrooveBlockOption "HardOptIn" Set-SPOTenantSyncClientRestriction -GrooveBlockOption "SoftOptIn" it wouldnt let me select new client on both when i changed the onedrive one it auto changed the sharepoint one and if i then changed sharepoint it said This option can't be selected because you chose to sync SharePoint files with the new sync client.
lmrogers Posted December 5, 2019 Posted December 5, 2019 I'm sure I selected new client on both and then just hit OK. I then ran those commands in SharePointOnline Powershell Module and the link started appearing when hitting the sync button. Have you managed to successfully run those commands?
sted Posted December 6, 2019 Posted December 6, 2019 I'm sure I selected new client on both and then just hit OK. I then ran those commands in SharePointOnline Powershell Module and the link started appearing when hitting the sync button. Have you managed to successfully run those commands? just run the commands now heres the result as was with just the options id altered in sharepoint itself the test vm has been running all night and still dosent have the shared drive im gpupdateing and rebooting the vm now and will leave it on to test again
lmrogers Posted December 10, 2019 Posted December 10, 2019 just run the commands now heres the result [ATTACH=CONFIG]55951[/ATTACH] as was with just the options id altered in sharepoint itself the test vm has been running all night and still dosent have the shared drive im gpupdateing and rebooting the vm now and will leave it on to test again Have you had any luck with getting this working?
sted Posted December 10, 2019 Posted December 10, 2019 Have you had any luck with getting this working? nope. left vm running for days dosent get the drive. for now ive given up i will try again in the new year it just feels like im banging my head against a brick wall
cburbage Posted October 6, 2020 Posted October 6, 2020 Hey Everyone! I just wanted to share a bit of information. I was also having some trouble getting my Library ID for the GPO. However, I downloaded chrome onto Mac OS. Then went to the sync button and it was there! No other browser would work, not even safari. So to test I compared the PowerShell script output, and then the link from Microsoft. In my stupidity, there was a space at the end of the PowerShell output! After I removed that 30 Min Later, it's all working as intended!
synaesthesia Posted October 15, 2020 Posted October 15, 2020 Having a play with this at the moment. Powershell script works fine but the only thing it doesn't pull is the LinkID. Is that part necessary, any examples available please?
titch Posted November 18, 2020 Posted November 18, 2020 Quick question......Just got the gpo working: Does the 8 hour wait happen for every new login? Or is it just the first time per computer/user? Thanks
robyholmes Posted November 18, 2020 Author Posted November 18, 2020 Quick question......Just got the gpo working: Does the 8 hour wait happen for every new login? Or is it just the first time per computer/user? Thanks I find new logins take around 15 to 20 minutes to start syncing the libraries. So long as OneDrive is able to update and auto login. Once syncing however, if you use Local Profiles and don't delete them then it'll be syncing again as soon as you login. 1
titch Posted November 18, 2020 Posted November 18, 2020 I find new logins take around 15 to 20 minutes to start syncing the libraries. So long as OneDrive is able to update and auto login. Once syncing however, if you use Local Profiles and don't delete them then it'll be syncing again as soon as you login. Do users find that acceptable? Anyway of that following a user? Thanks
robyholmes Posted November 18, 2020 Author Posted November 18, 2020 Do users find that acceptable? Anyway of that following a user? ThanksYes they seem to. Bit of pain mind, be nice to be quicker but we don't delete local profiles quick enough for it to be a problem unless it's a long holiday. Christmas or Summer. You can always get to data via Teams or Office. Or manually sync too. 1
chaplic Posted June 24, 2021 Posted June 24, 2021 The libraries dont appear instantly but by the sounds of it you've had it set long enough. I also recall there was a requirement to set onedrive to enable insider, but you'd assume Heres a code snippet I use to pull a couple of libraries down. I think I setup fiddler and/or procmon and did it manually to see what happens, getting the right siteID etc. # Map the pupils folder$username = Gwmi -Class Win32_ComputerSystem | select username$objuser = New-Object System.Security.Principal.NTAccount($username.username)$sid = $objuser.Translate([system.Security.Principal.SecurityIdentifier])$upn = Get-ItemPropertyValue -path HKLM:\SOFTWARE\Microsoft\IdentityStore\Cache\$($sid.value)\IdentityCache\$($sid.value) -Name “UserName”start $("`"odopen://sync/?siteId=%7B91fa540e%2D5d1a%2D41e8%2Db0c4%2Dfbf94fb57a61%7D&webId=%7B11a8a4cb%2D47ee%2D495d%2D8237%2De9c1619d8c6e%7D&listId=%7BCC606686%2D01BA%2D4E97%2DA3BC%2D65E487C66F19%7D&webUrl=https%3A%2F%2Fwsuffolkschuk%2Esharepoint%2Ecom%2Fsites%2FPupils&version=1&WebTitle=Pupils&ListTitle=Docs&userEmail=" +$upn + "`"")start-sleep -seconds 10# Map the allschoolsstart $("`"odopen://sync/?siteId=%7Be3b781cd%2Dcdc7%2D4e54%2Dac83%2D860ffe851145%7D&webId=%7B1e94d7c5%2D623b%2D4f94%2Dba56%2D278da0791f82%7D&listId=%7B199BE116%2D5B9E%2D459C%2DB945%2D8EF253FDCBF1%7D&webUrl=https%3A%2F%2Fwsuffolkschuk%2Esharepoint%2Ecom%2Fsites%2FAll%2DSchool&version=1&WebTitle=AllSchool&ListTitle=Docs&userEmail=" +$upn + "`"")start-sleep -seconds 20
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now