App session
A sapio365 App session is offered to users who wish to use an application to connect to Microsoft 365 instead of their user credentials.
Why use an App session in sapio365?
An App session won’t need any MFA or to enter a password to run since it will use the application’s secret key to authenticate.
This can be useful in strict environment, where MFA has to be provided each time you launch sapio365, forbidding you to set any scheduled Jobs.
‘Access App sessions’ sapio365 role is required
For security reasons, an App session can only be seen and used by users who have been assigned the sapio365 ‘Access App sessions’ role.
By default, no one can create, see or use any App session, not even those with a Microsoft 365 global admin role or a sapio365 General Manager role.
To set a sapio365 Access App sessions role, you must have a Microsoft 365 global admin role or a sapio365 General Manager role.
Creating a sapio365 App session creates a custom-named registered application in your tenant. You can add or remove permissions for this registered app in Azure Active Directory.
MFA and Mailbox Info are not available in App session
PowerShell-based features in sapio365 like loading MFA Info and Mailbox Info are not available in an App session because these require password authentication.
1 - Assign access to App sessions in sapio365 Access & Restrictions
In the main window, click RBAC submenu item ‘sapio365 Access & Restrictions’.
Once in that section, select the entry ‘Access App sessions’ in the grid and click ‘Assign’.
Search and select your account, another user or a group that you wish to give the ability to create App sessions. Click ‘Add to selection’ and click OK to see whoever you’ve selected listed under the role.
2 - Create an App session
In the ‘back’ of sapio365, go to Recent Sessions.
Click on ‘Create App session’ and follow the prompts. See step-by-step instructions below.
3 - Set on-premises parameters (OPTIONAL)
If your tenant has a hybrid Active Directory, you can enable on-premises access by setting custom on-prem parameters for your App Session.
Editing an App Session and managing on-premises parameters are available only in a User Session of someone who is allowed to create App Sessions.
For security purposes, App Sessions cannot be edited while in an App Session.
In the ‘back’ of sapio365, go to Recent Sessions.
Click on submenu item ‘App session on-prem settings’ to enable on-prem data access, and fill in custom parameters if needed.