web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Which instance we can use for CRM integration?

(0) ShareShare
ReportReport
Posted on by 15

I have a Web Api to access CRM and get the CRM ApiUrl using https://globaldisco.crm.dynamics.com/api/discovery/v2.0/Instances and get 2 value in array

{
"@odata.context": "">10.0.1.33:20229/.../$metadata
"value": [
{
"IsUserSysAdmin": false,
"Region": "OCE",
"Purpose": "",
"StatusMessage": 6,
"TrialExpirationDate": "0001-01-01T00:00:00Z",
"OrganizationType": 12,
"TenantId": "daea8483-3c8c-4bdf-ae25-xxxxxxx",
"EnvironmentId": "Default-daea8483-3c8c-4bdf-ae25-xxxxxxxx",
"DatacenterId": "4f4c4dee-6471-44f7-b9e7-xxxxxxxx",
"DatacenterName": null,
"Id": "f8f5e670-3702-42f3-9fd6-xxxxxxxxxx",
"UniqueName": "f8f5e670370242f39fd657xxxxxxxx",
"UrlName": "orgxxxxxxx",
"FriendlyName": "xxxxxxxxx (default)",
"State": 0,
"Version": "9.2.22113.172",
"Url": "https://orgxxxxxxxx.crm6.dynamics.com",
"ApiUrl": "https://orgxxxxxxx.api.crm6.dynamics.com",
"LastUpdated": "2022-12-27T21:46:15.1910295Z",
"SchemaType": "Standard"
},
{
"IsUserSysAdmin": true,
"Region": "OCE",
"Purpose": null,
"StatusMessage": 6,
"TrialExpirationDate": "2023-01-26T00:00:00Z",
"OrganizationType": 11,
"TenantId": "daea8483-3c8c-4bdf-ae25-xxxxxxxxxxxx",
"EnvironmentId": "d66108c4-1b0f-e72c-a15d-xxxxxxxxxxxx",
"DatacenterId": "6aff9720-2913-4b57-89cb-xxxxxxxxxxxx",
"DatacenterName": null,
"Id": "d3829f7b-f789-4dc6-883c-xxxxxxxxxxx",
"UniqueName": "unqd3829f7bf7894dc6883xxxxxxxx",
"UrlName": "orgxxxxxxxxx",
"FriendlyName": "Sales Trial",
"State": 0,
"Version": "9.2.22113.172",
"Url": "https://orgxxxxxxx.crm6.dynamics.com",
"ApiUrl": "https://orgxxxxxxx.api.crm6.dynamics.com",
"LastUpdated": "2022-12-28T03:00:42.1241855Z",
"SchemaType": "Full"
}
]
}

which instance that we can use for access(create, update, delete) leads? currently I'm using the Sales Trial but I don't know exactly how to filter it because when I use the default one, I can't access the CRM and get Error: The user is not a member of the organization.

I have the same question (0)
  • Verified answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at

    Hi Firman,

    Basically, we can use the use instance which has the Dataverse. As per my very little knowledge, The default environment does not have it.

    Your error asks to use the environment in which your access is configured.

  • Firman Profile Picture
    15 on at

    how we know which one has the Dataverse, Abdul Wahab ? cause I need to filter in the background.

    is it the one who has SchemaType='Full' or how? I think its not based on TrialExpirationDate, right? cause if we do not use Trial, is it still have TrialExpirationDate in the attributes?

  • Suggested answer
    PerezAguiar Profile Picture
    Microsoft Employee on at

    Hey!

    Default environments ("EnvironmentId": "Default-daea8483) are NOT intended for Dynamics 365 and can't have Dynamics 365 Apps deployed on them. On this scenario, you should use the Trial.  However, please be aware that trials have expiration date, on your case: January 26th, 2023.

    Regards

  • Firman Profile Picture
    15 on at

    if its not Trial, is it still have expiration date or not?

  • Yoshika Suzuki Profile Picture
    on at

    Looking only at the error message, it is possible that the user does not belong to the environment's security group. Do you have security groups configured in your environment?

  • tech-44 Profile Picture
    on at

    There are a few different instances that can use for CRM integration. Using the same instance for both the customer and sales team may make sense. Other times, creating two separate instances for each group may make more sense. Ultimately, the decision should make based on what is best for the organization and its needs.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 70

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans