web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

401 Unauthorized Access within Dynamics 365 App for Outlook using custom script calls(REST, SOAP, ODATA, XrmServiceToolkit etc.)

(0) ShareShare
ReportReport
Posted on by

Hello CRMers,

Within Outlook 2016, when user open quick create forms, custom javascript calls and fetching user's information like Language, Business Unit Id, Country Code etc. and setting those information on the quick create forms. So, within D365 App for Outlook that fetching of user information causes problem and almost tried several alternatives like XrmServiceToolkit + SOAP call, ODATA + XMLHttpRequest call, REST calls but still I'm getting "401 - Unauthorized Access" within Outlook App for D365.

I'm unable to get those error(s) in EDGE, Chrome owa but same I'm getting it within the Outlook App as well as IE11 OWA.

4213.Outlook_5F00_App_5F00_1.png

Let me know your thoughts and suggestions on this.

Your efforts in this will be much appreciated !

Thanks & Regards,

Poojan Bhayani

Categories:
  • Parth Bhaidani Profile Picture
    65 on at

    Hi Poojan,

    Did you find a solution for this? I am facing the same issue while trying to fetch user security roles.

    Thanks,

    Parth

  • Anh Luu Profile Picture
    215 on at

    Hello,

    I also have the same problem. Does anyone has the answer?

    Thanks,

    Anh

  • Suggested answer
    Anh Luu Profile Picture
    215 on at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Dynamics 365 general

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans