The sign-on URL has to be a valid URL but doesn’t have to exist. Give your application a name and a unique sign-on URL.Add an application in Azure Active Directory inside the Azure portal:.To use OneDrive for business you have to register your script/app to in Azure Active Directory $Auth=Get-ODAuthentication -ClientID 5dd40b03-0ead-451b-b5e3-f704550e8cca -AppKey xqacs8K92MuCJKgciRHQ1Cf -RedirectURI OneDrive for Business Now you have all the necessary data for your app/script:.Check “Allow implicit Flow” and enter a “Redirect URL”.
You can update the module to a newer version with the same command (-force).
Open PowerShell and Install-Module -Name OneDrive -Scope CurrentUser -force This OneDrive version (2.0.0 and higher in ) supports: If you want to support and work with me feel free to make changes cloning this repo, change and send me and a pull request. The OneDrive PowerShell module is available via. I provide the complete documentation on GitHub, where I will maintain it: This module can be installed with a one-liner from Īgain, I was asked to support OneDrive for Business and finally, I’m ready: From version 2.0.0 OneDrive for Business is supported. More than two years ago, I created my PowerShell module to access OneDrive.