cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
agabor
Level: Power Up

Can't connect to Office 365 Outlook

Hi,

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?

3 REPLIES 3
Community Support Team
Community Support Team

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,

Mabel

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.
JerryTheMexican
Level: Power Up

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

agabor
Level: Power Up

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

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (6,170)