Skip to content

Conversation

@heyitsaamir
Copy link
Collaborator

@heyitsaamir heyitsaamir commented Dec 13, 2025

Added UMI support to Core. This is done via ManagedIdentityOptions that need to be set. This type of auth is a bit off-band with the rest of MSAL.

  • Added UMI support (tested it)
  • Add some debug logging to tell us what kind of logs are being used. Unsure if this is the right approach TBH.
  • Add some unit tests

@heyitsaamir heyitsaamir changed the base branch from main to next/core December 15, 2025 17:25
@heyitsaamir heyitsaamir changed the title [DNP] Add UMI support Add UMI support Dec 15, 2025
@heyitsaamir heyitsaamir marked this pull request as ready for review December 15, 2025 21:03

services.Configure<MicrosoftIdentityApplicationOptions>(options =>
{
options.Instance = "https://login.microsoftonline.com/";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this means we won't support non public clouds when not using MSAL config scheme..

For parity, this is something we could add to our CoreConfig...

@heyitsaamir any thoughts?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True. Did you mean just an override? AuthAuthority or something?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a todo

@heyitsaamir heyitsaamir merged commit 23075bf into next/core Dec 15, 2025
3 checks passed
@heyitsaamir heyitsaamir deleted the aamirj/addUmi branch December 15, 2025 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants