I have test TSI preview environment in azure connected to an IoTHub. I am experimenting with the TSI test APIs, however, there seems to be something I am doing wrong.

Here are the things that I did.

1. Created a Service Principal
2. Gave it access to my resource group with the TSI instance
3. Using API <https://login.microsoftonline.com/>{{tenantId}}/oauth2/token to login and obtain a token.
4. On the portal, it does not allow me to create a Data access policy for a Service Principle but the AZ CLI does, so I created one.
5. My postman screenshot is given below, I am using the dataaccesFQDN as the prefix, and I have verified the environment ID as well.
	6. However, all the APIs call return,

{
 "error": {
 "code": "ResourceNotFound",
 "message": "Environment with id 'a5442850-c542-4602-a289-5ec1e1064280' is not found."
 }
}

Any thoughts on whats going wrong?

[enter image description here](https://i.stack.imgur.com/p8D7c.png)