Introduction
The MS Planner connector leverages the MS Graph API in order to to read and write data from the MS Planner service on office 365. To authenticate the user to Offices365/Azure AD the application leverages the Microsoft Login Connector.
Configuring login/authentication
Within your OutSystems application you will need to set up and configure the following site variables. For details see the documentation for Microsoft Login Connector.
Importantly to leverage the MS Graph API you will want to conf Resource as https://graph.microsoft.com
Configuring your Microsoft Azure App Registration with relevant MS Graph API read and write permissions
In order to read and write to MS Planner you will need to set the Delegated group read and write permissions.
In the Azure portal search for app registration and select the registration you may have setup as part of the configuring login/authentication.
Select the api permissions and then select Microsoft graph
select delegated and
then scroll down to groups and tick read and write , hitting add permissions
your admin will need to approve. If you are the admin then you can approve at the bottom of the next page
You will also need to set the redirect URI which can be set by selecting Redirect URIs from the overview. It should be set to URL of application plus /Callback.aspx
Testing success
if you open the screens in the MS connector you will see your Microsoft connection settings and can test that you can generate an authentication token. You will also see the list of current plans if you hit refresh plans.