question

EssenceWang-0511 avatar image
0 Votes"
EssenceWang-0511 asked romungi-MSFT answered

How to get "tenantId"?

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-cognitive-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

romungi-MSFT avatar image
0 Votes"
romungi-MSFT answered

@EssenceWang-0511 You can get your tenant id from your AD properties. You can follow the steps in the linked tutorial. Thanks!!


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.