Showing results for 
Search instead for 
Did you mean: 
New Member

Can't connect to Office 365 Outlook


I am experiencing a problem while trying to connect to Office 356 Outlook. At Data -> Connection -> New Connection I choose "Office 365 Outlook", then a login window appears where I type in my creditentials. After that I receive th following error message:

OAuth2Certificate authorization flow failed for service 'Office 365 (Discovery, Certificate)'. O365 discovery endpoint returned status code 401 (Unauthorized). Response:\r\n{"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":"Access denied. You do not have permission to perform this action or access this resource."}}

Can someone help me with this?

Community Support
Community Support

Re: Can't connect to Office 365 Outlook

Hi @agabor,


The error message says that you don’t have permission to access the resource.

Please check the subscription and make sure it has not been expired.

Besides, please confirm with your tenant admin to check if the they have set YES for “Users can consent to apps accessing company data on their behalf” option in AAD.

It could be found under AAD>User and groups>User settings>Enterprise applications.

Hope it could be your reference.


Best regards,


Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
New Member

Re: Can't connect to Office 365 Outlook

i have a single acct it is not expired... but still can not connest to it  any other thoughts

New Member

Re: Can't connect to Office 365 Outlook

Hi @v-yamao-msft,

I have a free personal licence, and I do not suppose that it can expire. I did have a premium licence before, but that have expired quite a while before.


Helpful resources


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021


Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (10,139)