im getting "unauthorized" status code 401 although i added the neccessary permissions
gumi
0
Reputation points
im trying to send logs from my storage to an event hub by using logic app.
i added the permission "Azure Event Hubs Data Sender" to the logic app (managed identity).
im getting "unauthorized" status code 401 on the last step, which is event hub send event:
{ "status": 401, "message": "Unauthorized access. 'Send' claim(s) are required to perform this operation. Resource: 'sb://XXX2XXXX.servicebus.windows.net/XXXXeh'. TrackingId:90a2a38ab3cd47f6a9db0e42f7f8d3b9_G9, SystemTracker:gateway5, Timestamp:2025-01-09T13:52:51, referenceId: 90a2a38ab3cd47f6a9db0e42f7f8d3b9_G9\r\nclientRequestId: e7cf4d34-e49c-409b-a7c7-85e600143791", "error": { "message": "Unauthorized access. 'Send' claim(s) are required to perform this operation. Resource: 'sb://XXXX2XXXXX.servicebus.windows.net/catoeh'. TrackingId:90a2a38ab3cd47f6a9db0e42f7f8d3b9_G9, SystemTracker:gateway5, Timestamp:2025-01-09T13:52:51, referenceId: 90a2a38ab3cd47f6a9db0e42f7f8d3b9_G9" }, "source": "eventhubs-ic.azconn-ic-001.p.azurewebsites.net"}
Sign in to answer