locked
Access Planner over Graph API with multi factor authentification RRS feed

  • Question

  • Hi guys, 

    currently only delegated personal users are supported to access the Microsoft Graph API to get planner details. I want to use the Graph API to write an sychronisation between Microsoft Planner and an external application.

    My plan:

    1. Creating a 'service user' and this user will be added to all groups which are relevant for the sychronisation
    2. The 'service user' add, delete, update tasks/buckets/plans (access the Graph API)

    My problem:

    Unfortunately our organisation policy uses the multi factor authentification because we got a official suggestion from Microsoft to do it (for security reasons). It's not an option to change this. If I want to 'get a user access token' to access the Graph API for Microsoft Planner details, I get the following error message: 

    {
        "error": "invalid_grant",
        "error_description": "AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access '00000003-0000-0000-c000-000000000000'.\r\nTrace ID: 7c204f9a-464b-42b4-bc59-f0d48a1f7e00\r\nCorrelation ID: c56eedae-c6fe-4944-8d80-611fbe829080\r\nTimestamp: 2020-05-12 13:03:17Z",
        "error_codes": [
            50076
        ]
    }

    Solution: 

    Is there a way to access the Graph API for Microsoft Planner with multi factor authentification? 

    Thank you in advance


    Tuesday, May 12, 2020 1:12 PM