Jump to content

Recommended Posts

Posted
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

Posted

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"

Posted
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 theps3.png 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

Posted
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"

Posted
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.

Posted

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?

Posted
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

1.png

 

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

Posted
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?

Posted
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

  • 9 months later...
Posted
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!
  • 2 weeks later...
  • 1 month later...
Posted

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

Posted
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.

  • Thanks 1
Posted
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

Posted
Do users find that acceptable? Anyway of that following a user?

 

Thanks

Yes 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.
  • Thanks 1
  • 7 months later...
Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...