[PR #2508] [MERGED] az: Don't fail when a tenant doesn't have a knowable name #24962

Open
opened 2026-01-31 09:06:24 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/2508
Author: @DHowett-MSFT
Created: 8/21/2019
Status: Merged
Merged: 8/22/2019
Merged by: @DHowett-MSFT

Base: masterHead: dev/duhowett/azplode


📝 Commits (2)

  • 198a651 az: Don't fail when a tenant doesn't have a knowable name
  • 1ef332f Update src/cascadia/TerminalConnection/AzureConnection.cpp

📊 Changes

2 files changed (+23 additions, -5 deletions)

View changed files

📝 src/cascadia/TerminalConnection/AzureConnection.cpp (+22 -5)
📝 src/cascadia/TerminalConnection/AzureConnectionStrings.h (+1 -0)

📄 Description

On occasion, in certain delegated access scenarios, we'll fail to read
the name of one or more of the user's Azure tenants. We would summarily
explode (because we're being strict about our incoming JSON, and we
didn't know that this was possible.)

Now we'll substitute in an alternate name and present the ID.

Fixes #2249.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/2508 **Author:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Created:** 8/21/2019 **Status:** ✅ Merged **Merged:** 8/22/2019 **Merged by:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Base:** `master` ← **Head:** `dev/duhowett/azplode` --- ### 📝 Commits (2) - [`198a651`](https://github.com/microsoft/terminal/commit/198a6513029aa89d748a4d62f5d91f95783c7714) az: Don't fail when a tenant doesn't have a knowable name - [`1ef332f`](https://github.com/microsoft/terminal/commit/1ef332f58e3d11ea683740e9c7b207fedbc30463) Update src/cascadia/TerminalConnection/AzureConnection.cpp ### 📊 Changes **2 files changed** (+23 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalConnection/AzureConnection.cpp` (+22 -5) 📝 `src/cascadia/TerminalConnection/AzureConnectionStrings.h` (+1 -0) </details> ### 📄 Description On occasion, in certain delegated access scenarios, we'll fail to read the name of one or more of the user's Azure tenants. We would summarily explode (because we're being strict about our incoming JSON, and we didn't know that this was possible.) Now we'll substitute in an alternate name and present the ID. Fixes #2249. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:06:25 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#24962