Forum Discussion
EventStream Azure Service Bus as Source | Connect Exception with on-prem data gateway connection
- 1 year ago
Hi to-know-better ,
Thank you for engaging with the Microsoft Fabric Community. Eventstream couldn’t read the Shared Access Policy Name correctly from your connection settings. This issue often arises when setting up the connection via Manage Connections and Gateways, where required fields like the policy name may not be passed through properly.
Please check the following
1. Verify that the Shared Access Key Name (policy name) is entered correctly
2. Ensure the key value is accurate
3. Confirm your on premises data gateway is installed and configured correctly
Additionally, the Eventstream UI currently doesn’t allow you to select a gateway directly when configuring an Azure Service Bus source. This has been noted by other users, although it’s not yet documented.
Lastly, please note that Service Principal authentication is not supported for ASB connections in Eventstream at this time. If you’d like this feature, you can suggest or vote for it in the Fabric Ideas portal.
Link: Fabric Ideas - Microsoft Fabric Community
For more details, please check the official Microsoft documentation.
Add Azure Service Bus source to an eventstream - Microsoft Fabric | Microsoft Learn
Add and manage eventstream destinations - Microsoft Fabric | Microsoft LearnI hope this helps. If you find this solution useful, please consider marking it as the accepted answer so it’s easier for others to discover in the community.
Hi,
Thanks for sharing the detailed context. Based on the error message:
java.lang.IllegalArgumentException: 'policyName' cannot be an empty string.
it indicates that the Shared Access Policy Name (policyName) used in the Azure Service Bus connection is missing or not properly passed to the connector. Even if the key itself is correct, the policy name is a required field to authenticate properly.
Recommendations:
Verify Connection Configuration:
Double-check that both the Shared Access Policy Name and Key are correctly entered in the connection settings within the Manage Connections and Gateways screen.
Since the EventStream UI does not currently support selecting the on-premises data gateway, make sure the gateway is explicitly associated with the connection in the Manage Connections area.
Use the Latest Connector Version:
Ensure you are using the most recent version of the EventStream Azure Service Bus connector, as some earlier versions may have issues with gateway integration or authentication.
Check Gateway Permissions and Network:
Confirm the on-premises data gateway has the necessary permissions and network access to reach the Azure Service Bus endpoint without public access.
Service Principal Authentication:
Currently, Shared Access Key authentication is the standard method supported for Azure Service Bus in EventStream.
There is growing demand for Service Principal authentication support; I recommend submitting a feature request through Microsoft Fabric feedback channels. This would enhance security by enabling managed identities and avoid key management overhead.
If this answered your question, please consider clicking Accept Answer and Yes if you found it helpful.
If you have any other questions or need further assistance, feel free to let us know — we’re here to help.