'Azure Service Principle Creation failing while configuring Harness Cost management report

I am configuring Harness Cost Management report for my Azure Dev subscription and getting the below error while creating the service principle.

When using this permission, the backing application of the service principal being created must in the local tenant

Used below command to create Service Principle.

az ad sp create --id 0211763d-24fb-4d63-865d-xxxxxxxxx

Here is the Harness link I am following for this setup https://docs.harness.io/article/7idbmchsim-set-up-cost-visibility-for-azure

How can I resolve this issue?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source