nikaso Posted July 13, 2015 Posted July 13, 2015 I'm trying to provision Onedrive for students who have never logged in so Teacher Dashboard will work correctly. I've tried the tool available online that they recommend but this only seems to work for the first 6 users in the list at a time. I've also tried Microsoft's Powershell method which runs without errors but doesn't seem to do anything. My user count in Teacher Dashboard remains steadfastly on 1337 when I sync users! Has anyone any method or powershell script they have used which works??
rpwillis Posted July 13, 2015 Posted July 13, 2015 That's interesting, we hit this last week where only 6 OneDrives were being created per api call. I guess this means that that the api has changed and it's more generic than just one or two affected customers. We have worked round it by checking to see if the creation has stalled and if so re-calling the api with the non-provisioned users.
nikaso Posted July 13, 2015 Author Posted July 13, 2015 Don't suppose you've got a powershell script for that you can share?
rpwillis Posted July 14, 2015 Posted July 14, 2015 Sorry no, we're not using PowerShell for it. You could do a quick hack by just sending 6 at a time then using Start-Sleep to pause if for a bit while they are processed before calling again.
spc-rocket Posted July 14, 2015 Posted July 14, 2015 Don't suppose you've got a powershell script for that you can share? Hi there, I've found this code which may be useful and also a little tool the same person has created. https://isharepoint-public.sharepoint.com/Blog/Post/19/Auto-provision-OneDrive-for-users---programmatically Just tried to create 7 users and it worked fine. Ash.
nikaso Posted July 14, 2015 Author Posted July 14, 2015 Hi there, I've found this code which may be useful and also a little tool the same person has created. https://isharepoint-public.sharepoint.com/Blog/Post/19/Auto-provision-OneDrive-for-users---programmatically Just tried to create 7 users and it worked fine. Ash. That was the tool I was using, I've actually just managed to get them all done by doing it manually, I didn't have that many left to do.
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