How to get "tenantId"?

Essence Wang 21 Reputation points
2021-06-10T05:49:40.637+00:00

When I want to create a new data source credential according "Microsoft Azure Metrics Advisor REST API", the request body of the api "Create a new data source credential" is like this: "
{
"parameters": {
"clientId": "88888888-8888-8888-8888-888888888888",
"clientSecret": "fake-client-secret",
"tenantId": "12345678-1234-1234-1234-123456788888"
},
"dataSourceCredentialName": "A data source credential",
"dataSourceCredentialDescription": "This is a data source credential",
"dataSourceCredentialType": "ServicePrincipal"
}"

But I can not find the tenantId。
Where can I find it?

Thanks advance

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,866 questions
0 comments No comments
{count} votes

Accepted answer
  1. romungi-MSFT 46,476 Reputation points Microsoft Employee
    2021-06-10T06:51:58.64+00:00

    @Essence Wang You can get your tenant id from your AD properties. You can follow the steps in the linked tutorial. Thanks!!

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.