Step 1 — App Registration
Last updated
CloudSync uses an Azure App Registration to authenticate your users via Microsoft Entra ID (Azure AD). You only need to do this once.
Navigate to the Azure Portal
Go to Microsoft Entra ID → App registrations → New registration
Fill in the form:
Name: CloudSync (or any name you prefer)
Supported account types: Accounts in this organizational directory only
Redirect URI: Leave blank for now — you'll add this after deployment
Click Register
Copy the Application (client) ID shown on the overview page — you'll need it during first login.
Go to API permissions → Add a permission → Microsoft Graph → Delegated permissions and add the following:
email
Delegated
View users' email address
openid
Delegated
Sign users in
profile
Delegated
View users' basic profile
User.Read
Delegated
Sign in and read user profile
Once added, click Grant admin consent for [your organization] and confirm.
All four permissions should show a green Granted status before proceeding.
Go to Certificates & secrets → New client secret
Set a description (e.g. cloudsync-vm) and an expiry
Click Add
Copy the secret value immediately — it won't be shown again
Store the client secret securely. You will be prompted to enter it on first SSH login to your VM.
Last updated