1

Topic: PL-400 topic 5 question 2

A company has two development instances, two test instances, two staging instances, and one production instance.
The test team reports connection issues with the test and staging instances.
You need to identify which of the instances the testing team currently has access.
Which two URLs can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

A.
https://globaldisco.crm.dynamics.com/api/discovery/v9.1/instances
B.
https://myorg.api.crm.dynamics.com/api/data/v9.1/
C.
https://dev.crm.dynamics.com/api/discovery/v9.1/instances
D.
https://disco.crm.dynamics.com/api/discovery/v9.1/
E.
https://dev.crm.dynamics.com/api/discovery/v9.1/instances(UniqueName='myorg')

Re: PL-400 topic 5 question 2

In Microsodt Datavers this has been changed:
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/discover-url-organization-web-api
In my eyes, in the current exam we should now expect this new url.

Re: PL-400 topic 5 question 2

So what would be the correct answers?

Re: PL-400 topic 5 question 2

meybe in the exam we have a new answers

Re: PL-400 topic 5 question 2

I don't agree with provided answers (both by exam topics and in the comments).

So, we have 2 versions of API:
v.9.1 / v.9.2 - old one
https://dev.{servername}/api/discovery/v9.1/Instances
https://dev.{servername}/api/discovery/v9.1/Instances(UniqueName='myorg') 

Reference: https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/webapi/discover-url-organization-web-api?view=op-9-1

v.2.0 - new one
https://globaldisco.crm.dynamics.com/api/discovery/v2.0/Instances
https://globaldisco.crm.dynamics.com/api/discovery/v2.0/Instances(UniqueName='myorg')

Reference: https://docs.microsoft.com/en-us/power-apps/developer/data-platform/webapi/discover-url-organization-web-api#using-the-discovery-service

In the answers we have only /v9.1 (old one) so the correct answers are C & E

A would be correct in /v2.0 but it is /v9.1

Re: PL-400 topic 5 question 2

A and E correct

Re: PL-400 topic 5 question 2

was in exam 04/2024

Re: PL-400 topic 5 question 2

A and E are correct answers in my opinion.

Re: PL-400 topic 5 question 2

I agree with you. 'A' for cloud and 'E' for on-premises.

Re: PL-400 topic 5 question 2

A & E
On exam 23/02

Re: PL-400 topic 5 question 2

the correct answer is A&E!

Re: PL-400 topic 5 question 2

At this time we have 2 different Versions of API. The "old" one is B, D. In this case you can look at your Org in the legacy Developer Resource and you will find the API Version 9.1 or 9.2. e.G.
Instance Web API: (https://<<orgID>>.api.crm.dynamics.com/api/data/v9.2/)
Discovery Web API: (https://disco.crm.dynamics.com/api/discovery/v9.2/)
If the Question is updated and then we have 2 different API Versions
You will find them in your Maker portal
Web API endpoint: (https://<<ORGID>>.api.crm.dynamics.com/api/data/v9.2)
Discovery endpoint: (https://globaldisco.crm.dynamics.com/api/discovery/v2.0/Instances).

Be aware of the questions and the Version of API 9.1 or 9.2 is the "old" v.2.x the new one.
I think this could be different in the Exam to this question. Never Know big_smile

Re: PL-400 topic 5 question 2

more on this new 2.x, see examples here:
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/discover-url-organization-web-api#using-the-discovery-service

14

Re: PL-400 topic 5 question 2

correct answers are A and E

Re: PL-400 topic 5 question 2

GET https://globaldisco.crm.dynamics.com/api/discovery/v2.0/Instances(UniqueName='myorg')