Home » Dynamics » Fixed – AADSTS90100: Invalid request. The Accept request parameter value ‘application/x-www-form-urlencoded’ is invalid

Fixed – AADSTS90100: Invalid request. The Accept request parameter value ‘application/x-www-form-urlencoded’ is invalid

Text Widget

This is a text widget. The Text Widget allows you to add text or HTML to your sidebar. You can use a text widget to display text, links, images, HTML, or a combination of these. Edit them in the Widget section of the Customizer.

The introduction of Representational State Transfer (REST) service has allowed us to remotely interact with SharePoint data and perform basic operations like Create, Delete, Read and Update on SharePoint folders and files. When we use REST, we don’t need to add any references to libraries or client assemblies in SharePoint.

In one of our earlier blog, we have already discussed how to achieve the operations mentioned above in plug-ins/workflows using REST.

As discussed in the blog mentioned above, REST first makes the connection with SharePoint using the Username and Password and then gets the token and “AuthURL”.

However, we started to get the below-mentioned error sporadically while trying to get the AuthURL.

Error: AADSTS90100: Invalid request. The Accept request parameter value ‘application/x-www-form-urlencoded’ is invalid

After researching on this error, we came to know that the query string used “handler=1&login={0}” to get the “AuthURL” stopped working.

So to resolve this issue, we performed the below steps.

1. Change the query string to “xml=1&login={0}”.

2. De-serialize the response in the XML format.

Hope this helps!

Attach to Email Dynamics CRM Report Word

from Microsoft Dynamics 365(CRM) Tips and Tricks http://bit.ly/2xdFq5x
via IFTTT


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: