- You can only add a managed identity or service principal for the tenant your organization is connected to. You need to add a directory to your organisation so that it can access all the SPs and other identities.
Go to organisation setting > Microsoft Entra > Connect Directory.
- Make sure to remember your organisation name, since I was not able to access my organisation after connecting the directory. Once you have successfully connected access your org using the link https://dev.azure.com/<org-name>
After this you will be able to add Service Principals in your org.
Hope this helps. Cheers!!