Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 release wave 1Discover the latest updates and new features to Dynamics 365 planned through September 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
our CRM have a frontend server and a backend server. we developed a plugin.
If the isolation mode is none it works well. if the isolation mode is Sandbox it display error as below: (copied from plugin trace log)
It seems like a SPN issue. The App Pool service account SPN is not configured properly.
The service account may need an SPN for the URL used to access the website that is associated with it. To set the SPN for the Sandbox Processing Service account, run the following command at a command prompt on the computer where the service is running.
SETSPN –a MSCRMSandboxService/<ComputerName> <service account>
If you're not confident about this stuff you should check in with your System DB administrator.
Hope it helps,
If you found the answer helpful for you or other readers, please mark as Verified.
Is there a reason why you need to register the plugin in the sandbox? As stated on the page below access to various resources/functions are restricted in the sandbox and this error can be a result of this restriction.
If sandbox isolation is a requirement I believe you will have to perform a full code review of the plugin to make sure you are not trying to perform any of the actions that are restricted in sandbox isolation.
To add to the previous post, it looks like the problem is that you're trying to make an authenticated call to an external web service. This requires use of some of the security classes, and these are blocked in the sandbox. The simplest solution is not to run the plugin in the sandbox; otherwise you may need to devise an alternate authentication process for the web service call
Business Applications communities