2.1.0-beta.2 (2022-03-22)
Features Added
- Added stronger types to the
DefaultAzureCredential
andManagedIdentityCredential
constructors so that TypeScript users will trigger a type error by providing both a Managed Identity client ID and resource ID to the same credential instance. - Added stronger types to the
ClientCertificateCredential
andOnBehalfOfCredential
constructors so that TypeScript users will trigger a type error by providing both a Client certificate and certificate path to the same credential instance. - Added support for App Service 2019 resource in Managed Identity Credential.
- All of our credentials now support a new option on their constructor:
loggingOptions
, which allows configuring the logging options of the HTTP pipelines. - Within the new
loggingOptions
we have also addedallowLoggingAccountIdentifiers
, a property that if set to true logs information specific to the authenticated account after each successful authentication, including: the Client ID, the Tenant ID, the Object ID of the authenticated user, and if possible the User Principal Name.
Bugs Fixed
- Fixed a bug that caused Continuous Access Enforcement (CAE) and Conditional Access authentication context authentication to fail with newer versions of MSAL.