Skip to content

Commit 4c5c6b8

Browse files
committed
Enable Office365 Auth from GCC-High and DoD Closed scottdurow#466
1 parent 8853a75 commit 4c5c6b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spkl/spkl/XrmToolingCmdLine/XrmToolingConnection.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public CrmServiceClient Connect()
7878
if (newConnection)
7979
{
8080
selectedConnection = new SavedConnection();
81-
var envUrl = ReadLine("Environment/Organization Url (e.g. org123.crm.dynamics.com)", regex: @"^(?<!http)([^\s:\/]+)(\.crm[0-9]*\.dynamics\.com[\/]?)$");
81+
var envUrl = ReadLine("Environment/Organization Url (e.g. org123.crm.dynamics.com)", regex: @"^(?<!http)([^\s:\/]+)(\.crm[0-9]*\.(dynamics\.com|microsoftdynamics\.us|appsplatform\.us)[\/]?)$");
8282
envUrl = envUrl.TrimEnd('/');
8383
selectedConnection.EnvironmentUrl = envUrl;
8484
// If new connection - set LoginPrompt=Always

0 commit comments

Comments
 (0)