I'm currently working with the "When a Teams webhook request is received" trigger in Power Automate, and I've noticed a difference in the format of the generated HTTP POST URLs depending on the environment or tenant.
In one environment, the generated URL looks like this:
`https://prod-xx.japaneast.logic.azure.com:443/workflows/{id}/triggers/manual/paths/invoke?...&sig={signature}`
It works fine when calling it via HTTP POST from external systems.
However, in another environment, the generated URL looks like this:
`https://defaultxxxxxxxx.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/{id}/triggers/manual/paths/invoke/?api-version=1&tenantId=...&environmentName=...`
This one requires an authorization token (OAuth) and returns a `401 Unauthorized` error if called without it. It seems to be a newer, secured endpoint format.
Could someone clarify the following?
1. What determines whether the URL is generated in the `prod-logic.azure.com` format or the `environment.api.powerplatform.com` format?
2. Is there a way to configure the "When a Teams webhook request is received" trigger to use the older (SAS-signed) anonymous access URL?
3. Are there specific environment, tenant, or licensing conditions that force the generation of the secured Power Platform API endpoint?
I want to understand this behavior so I can choose the right implementation approach for our use case (external systems calling the webhook via HTTP POST without requiring OAuth tokens).
Any help or official documentation reference would be appreciated.
Thanks in advance.