Microsoft Authentication
Allow users to sign in with their Microsoft accounts using OAuth 2.0.How It Works
- User clicks “Sign in with Microsoft”
- User is redirected to Microsoft’s authentication page
- After authenticating with Microsoft, user is returned to the application
- The system validates the authentication token from Microsoft
- Upon successful validation, access is granted
Configuration
To enable Microsoft authentication:-
Register your application in the Microsoft Azure Portal:
- Sign in to the Azure portal
- Navigate to Microsoft Entra ID (formerly Azure Active Directory) → App registrations
- Click New registration
- Enter a name for your application (e.g., “PipesHub login”)
- Select the appropriate Supported account types based on your needs:
- Single tenant: Accounts in this organizational directory only
- Multitenant: Accounts in any organizational directory
- Under Redirect URI, select Single-page application (SPA) and enter your callback URL (e.g.,
https://your-app-url/auth/microsoft/callback) - Click Register

-
After registration, note down the following from the Overview page:
- Application (Client) ID
- Directory (Tenant) ID
-
In PipesHub:
- Open Workspace settings > Authentication and click the settings (gear) icon on Microsoft
- In Client ID, enter the Application (Client) ID from your Azure app registration
- In Tenant ID, enter the Directory (Tenant) ID from your Azure app registration
- Click Save
- Click Edit, turn on Microsoft and click Save (the toggle stays off until the method is configured)


Microsoft authentication works well for organizations using Microsoft 365 or with an existing Microsoft identity infrastructure.