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
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
Hi
I have replied with all the details on your other post, please refer to that
i think you need client secret id as well : www.netiq.com/.../creating-application-client-id-client-secret-microsoft-azure-new-portal
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)
the redirect is localhost/CFM-MobApp.html
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
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
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
how to genrate token toaccess the api token in header i want to test it on postman ?
is dynamics crm online or onpremise?
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
52
Victor Onyebuchi
6