Your OneDrive, personal or from work or school, as a library on your Server, read-only. Microsoft asks you to register your own app: it’s free and done once, but with a personal account it will first ask you for an Azure account with a card (see “Before you start”).
Your files, your responsibility. The Server serves what you put in it: your videos, public domain ones or ones you have the right to use, and only to the people you give access to.
01
Before you start.
Microsoft will ask you for a card. With a personal account (Outlook, Hotmail, Live), Microsoft will ask you to create a free Azure account, with your address, your phone number and a credit or debit card to check your identity (it doesn’t charge anything unless you switch to pay-as-you-go yourself). This is Microsoft’s requirement, not PlayerStream’s: only do it if you’re interested. If not, there are other sources that ask for nothing like this: Dropbox, this computer’s folders, Nextcloud or S3.
You need the full Server, activated with a PlayerStream account with Premium or Ultimate (in its dashboard, under “Your PlayerStream account”). With Premium, one library per service; with Ultimate, up to five. See Pricing.
Your Microsoft account: a personal one (Outlook, Hotmail, Live) or your work or school one.
About 10 minutes the first time. The app is registered once; after that you just connect.
Microsoft's screens appear in your language. Here they're given with their English names.
02
Create the library.
In the Server's dashboard, click “Add” (the last tab at the top) and choose the “OneDrive” card.
Type the name it'll have in the app (for example, “Home movies”) and click “Save and continue →”.
You reach the “Connect OneDrive” step, with “Register your Microsoft app” and its steps. Do them as you follow this guide.
03
A free directory.
Only with a personal account that has never used Azure. Microsoft doesn't let you register apps without a “directory”. If you sign in without one, you'll see the error “Selected user account does not exist in tenant 'Microsoft Services'”. With a work or school account you already have one: skip this chapter.
Click the button to start for free, sign in with your Microsoft account and, if asked, choose “For personal use”.
Fill in the sign-up. Microsoft asks for a phone number (it sends you a code) and a credit or debit card, only to check that you're a person: it may place a small hold that it later releases, and it charges nothing unless you switch to pay-as-you-go yourself.
When you're done you have your directory, for free. It stays even after the Azure trial ends.
04
Register your app.
In the Server, click “Open Microsoft Entra” (or go to entra.microsoft.com) with your account. The Azure portal works too.
At the top right, under your name, your directory has to appear (for example, “Default Directory”), not “Microsoft Services”. If not, click your name and switch directory.
Go to Entra ID → App registrations and click “New registration”. The Server's button already takes you there.
Enter a name, for example My Player Stream. It's what you'll see when you accept.
In the “Supported account types” drop-down list, choose “Any Entra ID Tenant + Personal Microsoft accounts”. If you see a list with longer texts, it's the one ending in “…and personal Microsoft accounts”.
Leave the “Redirect URI” empty and click “Register”.
05
Sign in with a code.
The Server connects with a code that you type into Microsoft's page. For that, your app has to allow it:
In your app's menu, open “Authentication” (sometimes it says “Authentication (Preview)”).
Open the “Settings” tab. In the older version of this page, scroll down to “Advanced settings”.
Set “Allow public client flows” to “Yes” or “Enabled” and click “Save”.
You don't need to create any secret or certificate.
06
The permissions.
In your app's menu: “API permissions” → “Add a permission” → “Microsoft Graph” → “Delegated permissions”.
Find and tick Files.Read.All and offline_access. User.Read is already there.
Click “Add permissions”. You don't need to “grant admin consent”: you accept yourself when you connect.
Files.Read.All: read your files (never change or delete them).
offline_access: stay connected without you having to sign in every time.
User.Read: your name and email, to show “Connected as…”.
07
Copy the ID.
In your app's “Overview”, copy the “Application (client) ID”: 32 letters and numbers with dashes.
In the Server, paste it into the field below the steps and click “Save”.
That ID isn't secret: your app has no password. Every OneDrive library can use the same app.
08
Connect your OneDrive.
The Server shows you a code and the “Open the Microsoft page” button. Click it: it opens in your browser (it's usually microsoft.com/devicelogin).
Type the code (in the Server you have “Copy”) and click “Next”. The code is valid for 15 minutes.
Sign in with the Microsoft account of your OneDrive. If it asks whether you're trying to sign in to your app, click “Continue”.
Microsoft asks whether you'll let the app read your files: click “Accept”. It's read-only.
Go back to the Server: it connects on its own and says “Connected as …”. Click “Next →”.
If the code expires or something goes wrong, click “Request another code” and repeat.
09
After connecting.
“TMDB key”: paste your key and click “Check”; or, if you already have it in the app, enter your PlayerStream username and password and click “Use the one in my account”. It's free and required: the title pages come from there. Then click “Next →”.
“Folders”: click “+ Add folder”, choose “Movies” or “Series”, go into the folder and click “Choose this folder”. Repeat with each folder.
“Scan”: click “Scan”. Whatever it doesn't recognize, you fix later in “Review”.
In “Access passes”, create one per person and give them their code: it's pasted into the app, in Settings → Content → Addons. It's explained step by step in the Server guide.
With OneDrive everything goes through the Server (there's no “full access”). The Server checks for changes every few minutes; in Status, “Look for changes now” doesn't wait.
10
If something goes wrong.
“…does not exist in tenant 'Microsoft Services'”: you're missing the directory (chapter 3) or you're in another directory (switch it at the top right).
“Your Microsoft app is missing ‘Allow public client flows’ = Yes”: repeat chapter 5 and request another code.
“Microsoft can't find that app”: the ID was copied wrong. In the Server, click “Change it” and paste it again.
“Your Microsoft app doesn't support this type of account”: the app was registered with another account type. The simplest fix: register another app choosing the right type (chapter 4) and paste its ID with “Change it”.
“You clicked ‘Cancel’” or “The code has expired”: click “Request another code”.
Work or school accounts: your company may not allow granting permission to a new app. If, when you accept, it says an administrator's approval is needed, ask your company's admin.