Open anshuman-goel opened 2 months ago
Hello @anshuman-goel could you please mention steps to repro.
@JAdluri Please find the steps:
To reproduce the issue where Azure Function triggers do not support Federated Credentials, inhibiting the ability to write an Azure Function in a different tenant from where the trigger is deployed, follow these steps:
Set Up Azure Environment:
Create an Azure Function in Tenant A:
Configure Event Hub Trigger:
Connection String Configuration:
Attempt to Use Federated Credentials by using Managed Identity and Service Principal:
The issue is that Azure Function triggers like Event Hub, Queue trigger, etc., do not support Federated Credentials, which prevents cross-tenant configurations using Federated Credentials.
@anshuman-goel Thank you for detailed steps. Will let you know furtherly
Binding Type
Both
Expected Behavior
Currently Azure Function trigger like Event Hub, Queue trigger, etc, support Connection strings, Managed Identity. However, it does not support Federated Credentials which inhibits writing an azure function in a different tenant from where the trigger is deployed.
For example, I cannot have an Event Hub triggered Azure Function in tenant A where Event Hub resides in tenant B.