scottdurow / SparkleXrm

An open-source library for building Dynamics CRM XRM solutions using Script#, jQuery & Knockoutjs.
MIT License
264 stars 194 forks source link

Cannot Connect to Office 365 Login for GCC-High and DoD Environments #466

Open rwilson504 opened 1 year ago

rwilson504 commented 1 year ago

Issue: Current Uri validation is blocking the usage of the spkl command line tools for GCC-High and DoD environments using Office365 authentication. The current validation enforces that the organizational Uri contains "dynamics.com". The Uri formats for these other environments have the patterns below:

.crm.microsoftdynamics.us (GCC High) .crm.appsplatform.us (DoD) https://learn.microsoft.com/en-us/power-platform/admin/powerapps-us-government#power-apps-us-government-service-urls

Resolution: Update the regex pattern to allow for the additional Uri patterns.