[GH-ISSUE #2189] [Feature Request]: New Report: Username Discrepancy #1127

Closed
opened 2026-03-02 13:41:48 +03:00 by kerem · 3 comments
Owner

Originally created by @JeremyMcM on GitHub (Feb 29, 2024).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/2189

Description of the new feature - must be an in-depth explanation of the feature you want, reasoning why, and the added benefits for MSPs as a whole.

A new report that shows users across tenants that have a mismatch between their "userPrincipalName", their "mailNickname" and their "mail" values. With Microsoft's recommended best practices now requiring the UPN and primary SMTP address match, there are users with name changes, typo corrections and for other reasons may be in "not supported" status because of these discrepancies. If the report had a link directly to the user's /identity/administration/users/edit form and the form was modified to allow editing of the "mailNickname" value and also raised a red flag of some kind when the "mailNickname" and current value do not match their username, this would also prevent unknowingly changing the user's Login ID when the edit form was loaded through other means.

This would help MSPs keep their client tenants in line with Microsoft best practices and would help eliminate customer friction if a login name was inadvertently changed by them during other routine user account changes.

Discrepancy Report

PowerShell commands you would normally use to achieve above request

No response

Originally created by @JeremyMcM on GitHub (Feb 29, 2024). Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/2189 ### Description of the new feature - must be an in-depth explanation of the feature you want, reasoning why, and the added benefits for MSPs as a whole. A new report that shows users across tenants that have a mismatch between their "userPrincipalName", their "mailNickname" and their "mail" values. With Microsoft's recommended best practices now requiring the UPN and primary SMTP address match, there are users with name changes, typo corrections and for other reasons may be in "not supported" status because of these discrepancies. If the report had a link directly to the user's /identity/administration/users/edit form and the form was modified to allow editing of the "mailNickname" value and also raised a red flag of some kind when the "mailNickname" and current value do not match their username, this would also prevent unknowingly changing the user's Login ID when the edit form was loaded through other means. This would help MSPs keep their client tenants in line with Microsoft best practices and would help eliminate customer friction if a login name was inadvertently changed by them during other routine user account changes. ![Discrepancy Report](https://github.com/KelvinTegelaar/CIPP/assets/93686819/c5419cbf-2734-4122-ac6e-de70af3522b1) ### PowerShell commands you would normally use to achieve above request _No response_
Author
Owner

@KelvinTegelaar commented on GitHub (Feb 29, 2024):

I like this. Big red box, maybe not allow an edit until they match or have a second confirm.

<!-- gh-comment-id:1971896198 --> @KelvinTegelaar commented on GitHub (Feb 29, 2024): I like this. Big red box, maybe not allow an edit until they match or have a second confirm.
Author
Owner

@github-actions[bot] commented on GitHub (Mar 10, 2024):

This issue is stale because it has been open 10 days with no activity. We will close this issue soon. If you want this feature implemented you can contribute it. See: https://docs.cipp.app/dev-documentation/contributing-to-the-code . Please notify the team if you are working on this yourself.

<!-- gh-comment-id:1987039143 --> @github-actions[bot] commented on GitHub (Mar 10, 2024): This issue is stale because it has been open 10 days with no activity. We will close this issue soon. If you want this feature implemented you can contribute it. See: https://docs.cipp.app/dev-documentation/contributing-to-the-code . Please notify the team if you are working on this yourself.
Author
Owner

@KelvinTegelaar commented on GitHub (Mar 12, 2024):

added in dev.

<!-- gh-comment-id:1992486832 --> @KelvinTegelaar commented on GitHub (Mar 12, 2024): added in dev.
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#1127
No description provided.