You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ManagedIdentityException didn't play well with our hierarchy of exceptions, since it only derviced from ServiceException. But not from UIRequiredException. The only reason we added this exception was to be able to add extra bit of data about what source leads to this exception.
It also prevents code reuse, since any shared logic between MSI and STS now has to deal with the problem of throwing the correct exception (or catching MsalServiceEx and rethrowing MSIException, which is also complex).
Solution
No response
The text was updated successfully, but these errors were encountered:
gladjohn
changed the title
[Engineering Task] Update Managed Identity Exceptions to MSALServiceExceptions
[Bug] Update Managed Identity Exceptions to MSALServiceExceptions
Jan 4, 2024
Type of task?
Development
Description
The ManagedIdentityException didn't play well with our hierarchy of exceptions, since it only derviced from ServiceException. But not from UIRequiredException. The only reason we added this exception was to be able to add extra bit of data about what source leads to this exception.
It also prevents code reuse, since any shared logic between MSI and STS now has to deal with the problem of throwing the correct exception (or catching MsalServiceEx and rethrowing MSIException, which is also complex).
Solution
No response
The text was updated successfully, but these errors were encountered: