It requires Microsoft Graph Application registration. Start at the Microsoft Azure portal:
https://azure.microsoft.com/en-us/features/azure-portal/![](https://www.crushftp.com/crush11wiki/images/out.png)
Application registration: Go to the App registrations and click on New registration:
![attachments](https://www.crushftp.com/crush11wiki/attach/SMTP%20Microsoft%20Graph%20XOAUTH%202%20Integration/new_registration.png)
Name it. Select Single-page Application as a platform. The redirect URL must end withWebInterface/login.html. Then click on register.
![CrushOAuth/app_reg_config.png](https://www.crushftp.com/crush11wiki/attach/CrushOAuth/app_reg_config.png)
Make sure that MSAL.js 2.0 and Implicit grant (Access Token, ID Token) grant types are permitted.
![CrushOAuth/app_reg_auth_config.png](https://www.crushftp.com/crush11wiki/attach/CrushOAuth/app_reg_auth_config.png)
Configure the API permissions:
![attachments](https://www.crushftp.com/crush11wiki/attach/Microsoft%20Sign%20in%20Configuration/app_reg_config_permissions.png)
Get Client ID and Tenant ID from App registration -> Overview.
![MicrosoftMails/client_id.png](https://www.crushftp.com/crush11wiki/attach/MicrosoftMails/client_id.png)
Go to the Preferences-> Ip/Servers and select the HTTP or HTTPS port item(OAuth Sign in Tab) where you want to enable the Microsoft Sing-In button. Check the "Enable Microsoft Sign in" flag and provide the Client ID and Tenant ID of your App registration(mentioned above).
![CrushOAuth/port_item_settings_ms.png](https://www.crushftp.com/crush11wiki/attach/CrushOAuth/port_item_settings_ms.png)
!!!Continue on: CrushOAuth
https://azure.microsoft.com/en-us/features/azure-portal/
![](https://www.crushftp.com/crush11wiki/images/out.png)
Application registration: Go to the App registrations and click on New registration:
![attachments](https://www.crushftp.com/crush11wiki/attach/SMTP%20Microsoft%20Graph%20XOAUTH%202%20Integration/new_registration.png)
Name it. Select Single-page Application as a platform. The redirect URL must end withWebInterface/login.html. Then click on register.
![CrushOAuth/app_reg_config.png](https://www.crushftp.com/crush11wiki/attach/CrushOAuth/app_reg_config.png)
Make sure that MSAL.js 2.0 and Implicit grant (Access Token, ID Token) grant types are permitted.
![CrushOAuth/app_reg_auth_config.png](https://www.crushftp.com/crush11wiki/attach/CrushOAuth/app_reg_auth_config.png)
Configure the API permissions:
![attachments](https://www.crushftp.com/crush11wiki/attach/Microsoft%20Sign%20in%20Configuration/app_reg_config_permissions.png)
Get Client ID and Tenant ID from App registration -> Overview.
![MicrosoftMails/client_id.png](https://www.crushftp.com/crush11wiki/attach/MicrosoftMails/client_id.png)
Go to the Preferences-> Ip/Servers and select the HTTP or HTTPS port item(OAuth Sign in Tab) where you want to enable the Microsoft Sing-In button. Check the "Enable Microsoft Sign in" flag and provide the Client ID and Tenant ID of your App registration(mentioned above).
![CrushOAuth/port_item_settings_ms.png](https://www.crushftp.com/crush11wiki/attach/CrushOAuth/port_item_settings_ms.png)
!!!Continue on: CrushOAuth
Add new attachment
Only authorized users are allowed to upload new attachments.
List of attachments
Kind | Attachment Name | Size | Version | Date Modified | Author | Change note |
---|---|---|---|---|---|---|
png |
app_reg_config_permissions.png | 112.1 kB | 1 | 06-Feb-2024 04:25 | krivacsz |
«
This page (revision-5) was last changed on 06-Feb-2024 04:27 by krivacsz
G’day (anonymous guest)
Log in
JSPWiki