Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Answered

Which instance we can use for CRM integration?

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.

  • tech-44 Profile Picture
    tech-44 on at
    RE: Which instance we can use for CRM integration?

    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.

  • RE: Which instance we can use for CRM integration?

    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?

  • Firman Profile Picture
    Firman 15 on at
    RE: Which instance we can use for CRM integration?

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

  • Suggested answer
    PerezAguiar Profile Picture
    PerezAguiar on at
    RE: Which instance we can use for CRM integration?

    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
    Firman 15 on at
    RE: Which instance we can use for CRM integration?

    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?

  • Verified answer
    Abdul Wahab Profile Picture
    Abdul Wahab 12,070 Moderator on at
    RE: Which instance we can use for CRM integration?

    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.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,558 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,647 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans