Create Service Principal in App registrations
Go to https://portal.azure.com/
Navigate to Microsoft Entra ID
Find App registrationsIn in the side menu

Click New registration

In the Register an application page fill in
ConnectFlowCopy the IDs under Essentials
Save the IDs somewhere to use later
In the side menu find API permissions

Click Add a permission

Group.Read.AllDirectory.ReadWrite.AllUser.ReadGroup.Read.AllDirectory.ReadWrite.AllIn the side menu find Authentication
Under Platform configurations, click Add a platform
Select Single-page application

Enter Redirect URIs
https://connectflow.appClick Configure
Under Implicit grant and hybrid flows
Enable: Access tokens (used for implicit flows)
Enable: ID tokens (used for implicit and hybrid flows)

Click Save