cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
agabor
New Member

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
v-yamao-msft
Community Support
Community Support

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.

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

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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,672)