diff --git a/src/Common/dataAccess/readCollections.ts b/src/Common/dataAccess/readCollections.ts index 2bc51599f..79cecc077 100644 --- a/src/Common/dataAccess/readCollections.ts +++ b/src/Common/dataAccess/readCollections.ts @@ -16,7 +16,11 @@ export async function readCollections(databaseId: string): Promise { let databases: DataModels.Database[]; const clearMessage = logConsoleProgress(`Querying databases`); try { - if (window.authType === AuthType.AAD) { + if ( + window.authType === AuthType.AAD && + userContext.defaultExperience !== DefaultAccountExperienceType.MongoDB && + userContext.defaultExperience !== DefaultAccountExperienceType.Table + ) { databases = await readDatabasesWithARM(); } else { const sdkResponse = await client()