PL-500 · Question #166
PL-500 Question #166: Real Exam Question with Answer & Explanation
The correct answer is A: Deploy the solution as unmanaged.. Custom connectors with custom code created outside a solution must be deployed as unmanaged to ensure the code is transported correctly to the target environment.
Question
You create a custom connector outside of a solution in your development environment. The custom connector includes custom code. You plan to deploy the custom connector to another environment by first adding it to a solution. When you deploy the solution, the custom code is not deployed successfully. You need to resolve the issue with the custom code. What should you do?
Options
- ADeploy the solution as unmanaged.
- BDeploy the solution as managed.
- CPublish the connector in the development environment.
- DImport a new solution with the custom connector.
Explanation
Custom connectors with custom code created outside a solution must be deployed as unmanaged to ensure the code is transported correctly to the target environment.
Common mistakes.
- B. Managed solutions restrict component modification and do not reliably carry custom code files that were authored outside the original solution context, which is the root cause of the failure.
- C. Publishing the connector in the development environment makes it available for use locally but has no effect on how its custom code is packaged or exported within a solution.
- D. Importing a new solution still does not resolve the issue because the problem is the deployment type, not which specific solution file is used.
Concept tested. Custom connector with code solution deployment type
Reference. https://learn.microsoft.com/en-us/connectors/custom-connectors/customconnectorssolutions
Topics
Community Discussion
No community discussion yet for this question.