From 15d111e3db6d7421a8b6f8e71ea0e5758138777b Mon Sep 17 00:00:00 2001 From: jawelton74 <103591340+jawelton74@users.noreply.github.com> Date: Wed, 1 Nov 2023 15:46:54 -0700 Subject: [PATCH] Add directions to use AAD login if account blocked from connection (#1683) string login. --- src/Platform/Hosted/Components/ConnectExplorer.tsx | 4 +++- src/Platform/Hosted/ConnectScreen.less | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Platform/Hosted/Components/ConnectExplorer.tsx b/src/Platform/Hosted/Components/ConnectExplorer.tsx index 624137030..dd291f279 100644 --- a/src/Platform/Hosted/Components/ConnectExplorer.tsx +++ b/src/Platform/Hosted/Components/ConnectExplorer.tsx @@ -69,7 +69,9 @@ export const ConnectExplorer: React.FunctionComponent = ({ setErrorMessage(""); if (await isAccountRestrictedForConnectionStringLogin(connectionString)) { - setErrorMessage("This account has been blocked from connection-string login."); + setErrorMessage( + "This account has been blocked from connection-string login. Please go to cosmos.azure.com/aad for AAD based login.", + ); return; } diff --git a/src/Platform/Hosted/ConnectScreen.less b/src/Platform/Hosted/ConnectScreen.less index 0514e41ab..d4123f23f 100644 --- a/src/Platform/Hosted/ConnectScreen.less +++ b/src/Platform/Hosted/ConnectScreen.less @@ -66,7 +66,7 @@ } .connectExplorerContainer .connectExplorer .connectExplorerContent .errorDetailsInfoTooltip .errorDetails { bottom: 24px; - width: 145px; + width: 165px; visibility: hidden; background-color: #393939; color: #ffffff;