Notifications
Announcements
No record found.
Generate token as I am JavaScript developer I need to use API of ms-dynamic but first to generate token to access the app
*This post is locked for comments
I think this should help you : docs.microsoft.com/.../gg334279(v=crm.8)
community.dynamics.com/.../web-api-authentication-from-javascript
how to get token after bearer who to generate it
is dynamics crm online or onpremise?
how to genrate token toaccess the api token in header i want to test it on postman ?
if its dynamics crm online - you have ask admin to register the dynamics crm app in azure directory to obtain the Oauth token:
passion4dynamics.com/.../register-dynamics-crm-app-with-azure-for-oauth-2-0-authentication
in this example i have connected to dynamics crm using postman : passion4dynamics.com/.../create-auto-number-attribute-in-dynamics-crm-365-using-web-api-use-postman-with-crm-online
Sorry, but we’re having trouble signing you in.
AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application: client_id
this error i got it
Hi Mirette92,
May I know the value you have added in Reply Urls or Redirect Uris field?
When you select Web app /API you must provide a Sign-On URL which is the URL where Azure AD will send the authentication response, including a token if authentication was successful. While you develop an app, this is usually set to “[View:http://localhost/appname][port]” so you can develop and debug your app locally. When you publish your app, you need to change this value to the published URL of the app.
When you select Native, you must provide a Redirect URI. This is a unique identifier to which Azure AD will redirect the user-agent in an OAuth 2.0 request. This is typically a value formatted like so: //app:<guid>.
Are you using JavaScript ADAL library for handling authentication?
[View:https://github.com/AzureAD/azure-activedirectory-library-for-js]
Thanks
Justin Jose
the redirect is localhost/CFM-MobApp.html
AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'.
Trace ID: 2479798c-c53e-482f-93bb-9b41d0018300
Correlation ID: a6540ee3-4017-4d26-85b7-f0a4de27818f
Timestamp: 2019-04-11 07:01:37Z (this is a new erorr)
i think you need client secret id as well : www.netiq.com/.../creating-application-client-id-client-secret-microsoft-azure-new-portal
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2