Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metrics advisor - identity upgrade to v2 #18588

Merged
merged 8 commits into from
Nov 16, 2021

Conversation

KarishmaGhiya
Copy link
Member

@KarishmaGhiya KarishmaGhiya commented Nov 9, 2021

As part of this PR, Identity is upgraded to ^2.0.1 instead of 1.x.x

  • Since tenantId now can't be an invalid tenantId, so use the recorder's replaceableVariables to set one like 12345678-1234-1234-1234-123456789012
  • Re-recorded the NodeJS tests, since MSAL does some more recordings (one of them being that they verify that the Identity endpoint is available, which is something our previous Identity client didn't do).

@@ -33,7 +33,7 @@ const blobTemplate = "blob_template";
const replaceableVariables: { [k: string]: string } = {
AZURE_CLIENT_ID: "azure_client_id",
AZURE_CLIENT_SECRET: "azure_client_secret",
AZURE_TENANT_ID: "azure_tenant_id",
AZURE_TENANT_ID: "72698866-8641-4147-9144-24744011447",
Copy link
Contributor

Choose a reason for hiding this comment

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

oh ok ok, so this is the right tenant. I see.

Copy link
Contributor

Choose a reason for hiding this comment

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

The PR description mentions a different tenant 😮

Copy link
Member Author

Choose a reason for hiding this comment

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

I can update the PR description - but just curious if we want to keep the same tenant id for recordings across all packages?

Copy link
Contributor

Choose a reason for hiding this comment

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

I was mainly confused between the PR description and the PR values.

But if you ask me, I think it would be good to use the same fake tenant as we’ve used before.

Copy link
Contributor

@sadasant sadasant left a comment

Choose a reason for hiding this comment

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

Looks good!

@KarishmaGhiya KarishmaGhiya merged commit a72c6e8 into Azure:main Nov 16, 2021
@KarishmaGhiya KarishmaGhiya deleted the MA-identity branch November 16, 2021 02:59
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-js that referenced this pull request Apr 12, 2022
Active Directory connector automatic mode properties (Azure#18588)

* Active Directory connector automatic mode properties

* fixed capitalization

* adding new property to examples
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants