[GH-ISSUE #4973] [Bug]: Specified tenant identifier 'undefined' is neither a valid DNS name, nor a valid external domain. #2351

Closed
opened 2026-03-02 13:51:36 +03:00 by kerem · 2 comments
Owner

Originally created by @OfficialEsco on GitHub (Nov 20, 2025).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/4973

Required confirmations before submitting

  • I can reproduce this issue on the latest released versions of both CIPP and CIPP-API.
  • I have searched existing issues (both open and closed) to avoid duplicates.
  • I am not requesting general support; this is an actual bug report.

Issue Description

This is not a consistent issue, as you can easily fix it by switching tenant back and forth, but it is a issue for techs who don't know or just need it to work.

  1. Select a Tenant from the Tenant Selector
  2. Click the Extended Info button
  3. In my current example click Security Portal, but it can also appear on Entra, Exchange and Admin Center.
  4. Get redirected to https://login.microsoftonline.com/undefined which shows the error.

Environment Type

Sponsored (paying) user

Front End Version

8.6.1

Back End Version

8.6.2

Relevant Logs / Stack Trace

Specified tenant identifier 'undefined' is neither a valid DNS name, nor a valid external domain.
Originally created by @OfficialEsco on GitHub (Nov 20, 2025). Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/4973 ### Required confirmations before submitting - [x] **I can reproduce this issue on the latest released versions** of both CIPP and CIPP-API. - [x] **I have searched existing issues** (both open and closed) to avoid duplicates. - [x] I am **not** requesting general support; this is an actual bug report. ### Issue Description This is not a consistent issue, as you can easily fix it by switching tenant back and forth, but it is a issue for techs who don't know or just need it to work. 1. Select a Tenant from the `Tenant Selector` 2. Click the `Extended Info` button 3. In my current example click `Security Portal`, but it can also appear on Entra, Exchange and Admin Center. 4. Get redirected to `https://login.microsoftonline.com/undefined` which shows the error. ### Environment Type Sponsored (paying) user ### Front End Version 8.6.1 ### Back End Version 8.6.2 ### Relevant Logs / Stack Trace ```plaintext Specified tenant identifier 'undefined' is neither a valid DNS name, nor a valid external domain. ```
Author
Owner

@github-actions[bot] commented on GitHub (Nov 20, 2025):

Thank you for reporting a potential bug. If you would like to work on this bug, please comment:

I would like to work on this please!

Thank you for helping us maintain the project!

<!-- gh-comment-id:3558775884 --> @github-actions[bot] commented on GitHub (Nov 20, 2025): Thank you for reporting a potential bug. If you would like to work on this bug, please comment: > I would like to work on this please! Thank you for helping us maintain the project!
Author
Owner

@KelvinTegelaar commented on GitHub (Nov 20, 2025):

Resolved in dev - memoized the url generation with deps.

<!-- gh-comment-id:3559821100 --> @KelvinTegelaar commented on GitHub (Nov 20, 2025): Resolved in dev - memoized the url generation with deps.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/CIPP#2351
No description provided.