Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Bypass the login in dynamics crm

Posted on by Microsoft Employee

I am currently in the process of trying to get the data from Dynamic CRM (Office 365 - E5) using the Web API query method like (api.crm.dynamics.com/api/data/v8.2/accounts?$select=accountid,name,new_gl_exp,new_autol_exp)

I will include this api within the external application (Developed using HTML & Javascript) & hosted in on-premises IIS

I have done the basic setting in both CRM & Azure and got the token after logged it in login.microsoft.com

Questions

1. How can we get authenticate without enter the username & password in the login.microsoftonline.com

Is there way to bypass this login ( like passing client,tenet, client secret id as parameter to login.microsoft.com ) or any REST API ?

We are using seprate login for application so we will have to use two login

1. Application login
2. login.microsoft.com for dunamic crm

Thank you for any help you can provide,

  • G Kawinski Profile Picture
    G Kawinski 380 on at
    RE: Bypass the login in dynamics crm

    Are you trying to access Dynamics from the client in JavaScript or from the application server?  Doing it from the client would be rather difficult.  But if you relay all the calls through your application server, you can create a connection to Dynamics using a service account as a proxy (using the SDK libraries).  You can also have the service account use impersonation to act on behalf of the logged-in user.

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans