From the Microsoft Dynamics 365 / CRM Blogs: Online Authentication; Plug-in error; Error generating Excel; Custom apps
In this roundup from the Microsoft Dynamics 365/CRM blogs
- Dynamics 365 online authenticate with user credentials
- System.Aggregateexception: one or more errors occurred (Dynamics CRM/Dynamics 365 Customer Engagement plug-in)
- Failed to generate Excel: an error occurred
- Custom Apps - can we stop messing with the navigation?
Dynamics 365 online authenticate with user credentials
On the Magnetism blog, John Towgood stated that Integrating with Microsoft Dynamics 365 Online is pretty clear-cut because it exposes Web API endpoints.
The most difficult part, however, is authenticating. The reason: Dynamics 365 Online uses OAuth 2.0 as an authentication method and a valid access bearer token issued by Microsoft Azure Active Directory is needed and used in every HTTP requests to the Web API.
In his blog post, Towgood explained that one of the ways to authenticate and obtain a bearer token is using user credentials (active CRM user's username and password). He also discussed how obtain a bearer token from a refresh token when the token is expired.
You can learn about the steps you need follow to authenticate using user credentials here.
Dynamics 365 post-deployment steps System.Aggregateexception: one or more errors occurred (Dynamics CRM/Dynamics 365 Customer Engagement plug-in)
On The CRM Chap blog, Joe Griffin stated that as part of developing Dynamics CRM/365 plug-ins day in, day out, it's easy to forget about the execution mode setting, which allows users to customize whether their plug-ins execute in a synchronous or asynchronous mode.
Griffin stated that recently he came across a strange issue with an arguably even stranger synchronous plug-in that started failing after taking a really ...
FREE Membership Required to View Full Content:
Joining MSDynamicsWorld.com gives you free, unlimited access to news, analysis, white papers, case studies, product brochures, and more. You can also receive periodic email newsletters with the latest relevant articles and content updates.
Learn more about us here