Skip to content

Commit

Permalink
Enable Office365 Auth from GCC-High and DoD Closed scottdurow#466
Browse files Browse the repository at this point in the history
  • Loading branch information
rwilson504 committed Dec 19, 2022
1 parent 8853a75 commit 4c5c6b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spkl/spkl/XrmToolingCmdLine/XrmToolingConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public CrmServiceClient Connect()
if (newConnection)
{
selectedConnection = new SavedConnection();
var envUrl = ReadLine("Environment/Organization Url (e.g. org123.crm.dynamics.com)", regex: @"^(?<!http)([^\s:\/]+)(\.crm[0-9]*\.dynamics\.com[\/]?)$");
var envUrl = ReadLine("Environment/Organization Url (e.g. org123.crm.dynamics.com)", regex: @"^(?<!http)([^\s:\/]+)(\.crm[0-9]*\.(dynamics\.com|microsoftdynamics\.us|appsplatform\.us)[\/]?)$");
envUrl = envUrl.TrimEnd('/');
selectedConnection.EnvironmentUrl = envUrl;
// If new connection - set LoginPrompt=Always
Expand Down

0 comments on commit 4c5c6b8

Please sign in to comment.