Sunday, 5 April 2020

Deprecation of Office365 authentication type and OrganizationServiceProxy class for connecting to Common Data Service

Recently came across this article from Microsoft. Please see the below link for further details.

https://docs.microsoft.com/en-us/power-platform/important-changes-coming#deprecation-of-office365-authentication-type-and-organizationserviceproxy-class-for-connecting-to-common-data-service

Effective Feb 4, 2020, the WS-Trust authentication type that is used by custom clients to connect to Common Data Service is deprecated. This change affects applications that utilize Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy and Microsoft.Xrm.Tooling.Connector.CrmServiceClient classes for the authentication type of "Office365".

Important dates are the below

To allow for transition of customers and partner applications:
  • Effective April 2021, we intend to retire this authentication protocol for all new environments.
  • Effective April 2022, the authentication protocol will be retired for all new and existing environments.

Dynamics 365 Attachments Issue with Azure Blob

Attachment Management for Dynamics 365 Online using Azure blob storage. If you are not familiar with this solution here is the post.

https://crmdm.blogspot.com/2018/11/dynamics-365-attachments-in-azure-blob.html

Recently we noticed that some documents were showing as 0 KB in a lower environment. After some investigation it was found that the SAS token was expired. Attachment management solution is configured using SAS token. After fixing the SAS token all documents were displayed correctly. It's important to check the expiry of the SAS token