Error access Outlook Tasks from Flow

%3CLINGO-SUB%20id%3D%22lingo-sub-135347%22%20slang%3D%22en-US%22%3EError%20access%20Outlook%20Tasks%20from%20Flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-135347%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20have%20no%20issues%20connecting%20Flow%20to%20Outlook%2C%20however%20when%20we%20want%20to%20connect%20to%20Outlook%20Tasks%20we%20get%20the%20following%20error%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3EOutlookTasksConnector-PowerApps%20and%20Flow%20needs%20permission%20to%20access%20resources%20in%20your%20organisation%20that%20only%20an%20admin%20can%20grant.%20Please%20ask%20an%20admin%20to%20grant%20permission%20to%20this%20app%20before%20you%20can%20use%20it.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAnybody%20any%20idea%20what%20is%20causing%20this%20behavior%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-135347%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-352881%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20access%20Outlook%20Tasks%20from%20Flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-352881%22%20slang%3D%22en-US%22%3E%3CP%3EDocumented%20this%20issue%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Falextofan.com%2F2019%2F02%2F19%2Fhow-to-grant-permissions-to-one-or-more-users-to-use-the-outlook-tasks-connector-in-microsoft-flow%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Falextofan.com%2F2019%2F02%2F19%2Fhow-to-grant-permissions-to-one-or-more-users-to-use-the-outlook-tasks-connector-in-microsoft-flow%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-263479%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20access%20Outlook%20Tasks%20from%20Flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-263479%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20had%20a%20similar%20issue%20with%20the%20same%20connector.%20All%20that%20needs%20to%20be%20done%20is%20for%20the%20Global%20Admin%20to%20log%20in%20to%20flow%20and%20select%20the%20exact%20same%20connector%2C%20it%20would%20prompt%20the%20Global%20Admin%20to%20consent%2C%20once%20the%20Global%20Admin%20has%20consented%20on%20behalf%20of%20the%20organisation%2C%20all%20users%20will%20be%20able%20to%20create%20the%20connector%20Successfully.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-211665%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20access%20Outlook%20Tasks%20from%20Flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-211665%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20having%20trouble%20locating%20the%20app%20in%20AAD%20and%20our%20users%20are%20getting%20the%20error.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20figuring%20out%20how%20to%20search%20for%20it%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-149132%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20access%20Outlook%20Tasks%20from%20Flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-149132%22%20slang%3D%22en-US%22%3E%3CP%3EI%20guess%20it%20is%2C%20however%20there%20is%20no%20notice%20about%20a%203rd%20party%2C%20the%20creator%20is%20Microsoft%20and%20the%20backend%20is%20Microsoft%20as%20well...%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-148698%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20access%20Outlook%20Tasks%20from%20Flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-148698%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Joost%2C%20I%20want%20to%20make%20sure%20we%20are%20talking%20about%20the%20same%20app.%20Please%20take%20a%20look%20at%20the%20screenshot%20I%20attached.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-148687%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20access%20Outlook%20Tasks%20from%20Flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-148687%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F109801%22%20target%3D%22_blank%22%3E%40Alexandru%20Tofan%3C%2FA%3E%2C%20thanks%20but%20this%20is%20very%20weird%2C%20right%3F%20We%20do%20not%20know%20anything%20about%20this%203rd%20party%20app%20and%20therefore%20we%20will%20not%20add%20this%20app%20but%20will%20wait%20until%20Microsoft%20get%20its%20act%20together%2C%20so%20to%20say...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-148671%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20access%20Outlook%20Tasks%20from%20Flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-148671%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3091%22%20target%3D%22_blank%22%3E%40Joost%20Koopmans%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Outlook%20Tasks%20connector%20uses%20a%203rd%20party%20app%20and%20requires%20consent.%20The%20name%20of%20the%20application%20is%26nbsp%3B%3CSTRONG%3E%3CEM%3EOutlookTasksConnector-PowerApps%20and%20Flow%3C%2FEM%3E%3C%2FSTRONG%3E%26nbsp%3Band%20the%20application%20ID%20is%26nbsp%3B%3CEM%3E%3CSTRONG%3E99da6bf4-4525-4bfa-b39f-b6a35789c240%3C%2FSTRONG%3E%3C%2FEM%3E.%20Make%20sure%20permission%20is%20granted%20to%20this%20app%20in%20AAD%20before%20attempting%20to%20use%20the%20connector.%20It%20is%20not%20mandatory%20to%20turn%20ON%20the%26nbsp%3B%3CSPAN%3E%E2%80%9CUsers%20can%20consent%20to%20apps%20accessing%20company%20data%20on%20their%20behalf%E2%80%9D%20option%20if%20permission%20has%20been%20granted%20to%20the%20app.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-147728%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20access%20Outlook%20Tasks%20from%20Flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-147728%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20reported%20the%20issue%20to%20the%20appropriate%20team%26nbsp%3Band%20I%20am%20waiting%20for%20an%20answer%20as%20there%20were%20several%20other%20people%20who%20experienced%20the%20same%20behaviour.%20I%20do%20not%20know%20why%20the%20Outlook%20Tasks%20connector%20behaves%20differently%20from%20Outlook.com%20connector%20but%20I%20am%20hoping%20to%20find%20out%20soon.%20I%20will%20keep%20this%20thread%20updated.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-147725%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20access%20Outlook%20Tasks%20from%20Flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-147725%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F109801%22%20target%3D%22_blank%22%3E%40Alexandru%20Tofan%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20setting%20is%20indeed%20turned%20off%20in%20our%20tenant%20because%20we%20do%20not%20want%20our%20users%20to%20give%20consent%20to%203rd%20party%20apps.%20However%20it%20is%20strange%20this%20setting%20is%20only%20needed%20for%20Outlook%20Tasks%2C%20right%3F%3C%2FP%3E%0A%3CP%3EI%20cannot%20test%20it%2C%20but%20if%20correct%20it%20seems%20like%20a%20design%20flaw%20or%20bug%20to%20me...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-147686%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20access%20Outlook%20Tasks%20from%20Flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-147686%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3E%3C%2FSTRONG%3EHi%20-%20it%20turns%20out%20this%20is%20a%20consent%20issue.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20work%20with%20the%20tenant%20admin%20to%20check%20if%20the%20%E2%80%9CUsers%20can%20consent%20to%20apps%20accessing%20company%20data%20on%20their%20behalf%E2%80%9D%20option%20in%20AAD%20is%20set%20to%20YES.%3C%2FP%3E%0A%3CP%3EThis%20option%20can%20be%20found%20under%20Azure%20Active%20Directory%20%26gt%3B%26gt%3B%20Users%20and%20groups%20%26gt%3B%26gt%3B%20User%20settings%20%26gt%3B%26gt%3B%20Enterprise%20applications%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-142189%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20access%20Outlook%20Tasks%20from%20Flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-142189%22%20slang%3D%22en-US%22%3E%3CP%3EMy%20apologies%20that%20I%20don't%20have%20a%20solution%2C%20but%20I'm%20also%20experiencing%20this%20issue.%26nbsp%3B%20All%20of%20my%26nbsp%3BFlows%20are%20working%2C%20except%20for%20those%20connected%20to%20Outlook%20Tasks.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor

We have no issues connecting Flow to Outlook, however when we want to connect to Outlook Tasks we get the following error:

 

OutlookTasksConnector-PowerApps and Flow needs permission to access resources in your organisation that only an admin can grant. Please ask an admin to grant permission to this app before you can use it.

 

Anybody any idea what is causing this behavior?

 

12 Replies

My apologies that I don't have a solution, but I'm also experiencing this issue.  All of my Flows are working, except for those connected to Outlook Tasks.

Hi - it turns out this is a consent issue. 

Please work with the tenant admin to check if the “Users can consent to apps accessing company data on their behalf” option in AAD is set to YES.

This option can be found under Azure Active Directory >> Users and groups >> User settings >> Enterprise applications

Hi @Alexandru Tofan,

 

This setting is indeed turned off in our tenant because we do not want our users to give consent to 3rd party apps. However it is strange this setting is only needed for Outlook Tasks, right?

I cannot test it, but if correct it seems like a design flaw or bug to me...

I've reported the issue to the appropriate team and I am waiting for an answer as there were several other people who experienced the same behaviour. I do not know why the Outlook Tasks connector behaves differently from Outlook.com connector but I am hoping to find out soon. I will keep this thread updated.

Hi @Joost Koopmans,

 

The Outlook Tasks connector uses a 3rd party app and requires consent. The name of the application is OutlookTasksConnector-PowerApps and Flow and the application ID is 99da6bf4-4525-4bfa-b39f-b6a35789c240. Make sure permission is granted to this app in AAD before attempting to use the connector. It is not mandatory to turn ON the “Users can consent to apps accessing company data on their behalf” option if permission has been granted to the app.

@Alexandru Tofan, thanks but this is very weird, right? We do not know anything about this 3rd party app and therefore we will not add this app but will wait until Microsoft get its act together, so to say...

Hi Joost, I want to make sure we are talking about the same app. Please take a look at the screenshot I attached.

I guess it is, however there is no notice about a 3rd party, the creator is Microsoft and the backend is Microsoft as well...

 

I'm having trouble locating the app in AAD and our users are getting the error.

 

Any help figuring out how to search for it?

I have had a similar issue with the same connector. All that needs to be done is for the Global Admin to log in to flow and select the exact same connector, it would prompt the Global Admin to consent, once the Global Admin has consented on behalf of the organisation, all users will be able to create the connector Successfully.

@Joost Koopmans 

 

AccessFlow is Live!

The new AccessFlow tool launched on September 2! AccessFlow is the new tool for requesting access to University systems such as UAccess and Trellis. The current Access Provisioning Tool in Cherwell will be decommissioned in September. AccessFlow is built in ServiceNow, which allows for additional new benefits. The new tool will enhance workflow for effectiveness and increased productivity, improve audit response, and provide a single unified interface to request, track, and execute operations. To enter AccessFlow, click Log In in the top right corner, then select Access Provisioning on the portal banner. Note: Some users have reported difficulties using AccessFlow in the Firefox browser, please use an alternate browser.

 

DID ANYONE ASK IF ANYONE NEEDED THIS ACCESS FLOW?  NO! ANOTHER EXAMPLE OF SOME UNECCESSARY "IMPROVEMENT" TO AN UNBROKEN SYSTEM THAT DIDN'T NEED FIXING OR UPDATING.