D365: “The user is not a member of the organization” error while connecting to CE


Ajit Patra's avatarAjit Patra

Recently, we were working on connecting to CE to do some CRUD operation using Azure function. We were using Client ID(Application ID) and Client Secret of the app registered on Azure Active Directory.

We had provided the necessary API(Dynamics CRM) Permission (delegated “user_impersonation”) to the app.

While running the Azure function, we were getting the error message “The user is not a member of the organization” when we were connecting to CE.

After investigating the issue for some time, we found that we had missed one important step of creating Application User back in CE with the Application ID(Client ID) of the app.

Creating the Application User with the Application ID(Client ID) fixed the issue.

Hope it helps !!

View original post

Part 6: Data Integration – Return of the Best Practices


Best Practices – Data Integration in Dynamics 365

Matthew Webb's avatarMatthew Webb's Dynamics 365 Blog

Recap Best Practices: Part 2

Welcome back!

My previous blog discussed the use of Staging Databases as part of integration design and some tips and pointers whilst building a staging database (if you decide to use one that is).

My background with data integration is using either out of the box/free tools or 3rd party data integration software (like Scribe or KingswaySoft) and the methods for designing and building data integration have evolved over time. This blog will detail the best practices when dealing with performance issues that I have encountered over the years.

You can apply some (if not all) of these principles for bespoke data integration tools, such as:

  • Web Services
  • Console Applications
  • Utilising a Service Bus (like Azure for integration messaging)

This will be my final* post when discussing best practices with data integration, most of which can be applied when using any tool to complete…

View original post 3,282 more words

Historical Data Migration – Created On and Modified On in Dynamics 365


Very insightful article by Debajit !

Just to summarize –

If we are using SDK method from external application to set values for created on, modified on – we can use overriddencreatedon for created on. Modified on will be ignored.

Setting values in Pre-Create Plugin – values specified for both created on and modified on will be set in the record.

Azure Data Lake Storage Component in KingswaySoft – SSIS


Download and install the SSIS Productivity Pack

https://www.kingswaysoft.com/products/ssis-productivity-pack/download/

Drag the Azure Data Lake Storage Source component in the data flow

Double click and click on New to specify the connection

Provide the connection details and test the connection

  • It supports both Gen 1 and Gen 2

  • Supports the below Authentication modes

Inside the Azure Data Lake Storage Source component, we have specified our CSV file.

  • All Contact.csv file

Item Selection Mode:

  • Selected Item: Retrieves only the item specified by Source Item Path.
  • Selected Level: Retrieves the selected item and all immediate files and folders under the path specified by the Source Item Path option.
  • Selected Level (Files only): Retrieves the selected item and all immediate files under the folder as specified by the Source Item Path option.
  • Recursive: Retrieves the selected item (specified by the Source Item Path option) and all sub items recursively.
  • Recursive (Files only): Retrieves items the same as the Recursive mode but only returns files.

The page size refers to how many records to retrieve per service call

The columns page shows all the available attributes from the object specified in the General page

We have used the script component as the destination to read the values of all the above columns

The value for each of the columns –

datalakecsv

Get all the details here

https://www.kingswaysoft.com/products/ssis-productivity-pack/help-manual/cloud-storage

Posts on Azure Data Lake

Hope it helps..

IP ranges for Dynamics 365


biplab singha's avatarBiplab Singha's blog

IP whitelisting (Range) for Dynamics 365.

In one of our recent project we need to call a web service from Workflow and Action from Dynamics 365 online (9.x) . The web service publisher will allow only request from specific IP ranges due to security principal of the organisation.

To Achieve this IP range there could be multiple approach but I will explain the below two

  1. Add Dynamics IP range to the allowed IP range for the Web Service Publisher.
  2. Use Azure API manager or some other static IP provider in between Dynamics 365 and the Web service.

In the current blog I will explain the Dynamics 365 IP ranges. I will explain the Azure API manager in future blog.

Add Dynamics IP range to the allowed IP range for the webservice

The IP range for dynamics CRM can be found on https://support.microsoft.com/en-us/help/2728473/microsoft-dynamics-crm-online-ip-address-ranges . this link has the exhaustive list for…

View original post 255 more words

How to – Setup a free trial of Dynamics 365 Marketing


If we already have a Microsoft 365 / Dynamics 365 tenant, we can directly request the trial for Dynamics 365 Marketing from Microsoft 365 Admin Center https://admin.microsoft.com through Purchase services > Dynamics 365 Marketing option.

And within Power Platform Admin Center https://admin.powerplatform.microsoft.com/, we can navigate to Dynamics 365 Apps >> Dynamics 365 Marketing Application solution and select Manage.

Here Dynamics 365 Marketing Application is the full application with both the solution and the services and Dynamics 365 Marketing Solution Only provides the entities without services.

Select the appropriate Dynamics 365 Organization.

Provide the address and click on Setup

After a few minutes, the setup would complete.

Take me to the app will open the Dynamics 365 Marketing App.

We can also set up Microsoft 365 Tenant or Dynamics 365 trial https://trials.dynamics.com/

(in case if we do not have one).

Microsoft recommends to sign up for Microsoft 365 E3 Trial

After the tenant is set up, go to Get started with Dynamics 365 Marketing page to set up the free trial.

https://dynamics.microsoft.com/en-us/get-started/free-trial/?appname=marketing

Here we provided the existing tenant’s account used.


Once the setup is done, the same sign up now options takes you to the instance picker page

Clicking on Open asks for an address.

Clicking on Begin opens the Dynamics 365 Marketing App.

We can log in to the Power Platform admin center and can see the environment created for the marketing app.

https://admin.powerplatform.microsoft.com/environments

Get all the details here –

https://docs.microsoft.com/en-us/dynamics365/marketing/trial-signup

https://docs.microsoft.com/en-gb/dynamics365/marketing/purchase-setup#add-a-marketing-app-to-your-microsoft-365-tenant

Hope it helps..

Advertisements