@Essence Wang You can get your tenant id from your AD properties. You can follow the steps in the linked tutorial. Thanks!!
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
-
romungi-MSFT 48,801 Reputation points Microsoft Employee
2021-06-10T06:51:58.64+00:00