最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

azure - ACL Failure on Graph API Request to Update Message in Channel - Stack Overflow

programmeradmin4浏览0评论

I've been successfully making GraphAPI requests to update messages in channels using a specific user's delegated permissions for ~10 months. Two weeks ago, this user was briefly deactivated due to inactivity. Once reactivated, I re-created my access token, however exclusively for message updates I get:

APIError Code: 403 message: None error: MainError(additional_data={}, code='Forbidden', details=None, inner_error=InnerError(additional_data={'code': '1', 'message': 'AclCheckFailed-The initiator 8:id:c56a34bf-6c6c-4e58-9311-48cad5182570 is not a member of the roster 92:[email protected] in the generic thread 19:[email protected]'}, client_request_id='caa22ee3-30ed-4afa-be35-93851d9316f5', date=datetime.datetime(2025, 2, 18, 19, 12, 31), odata_type=None, request_id='9367094a-2b36-4db4-80e1-947244f054bb'), message='InsufficientPrivileges', target=None)

I'm cracking my head over it because the user is part of the channel, the token has the permissions, and nothing else seems to be failing; channel creation, message sending (non updating ones that is), and pretty much everything else I do.

I was expecting after reactivating the user everything would work. Then I figured I needed to re-authenticate my token (again, using delegated access) or add the user back to the channel (assuming the underlying identifier changed or something). But none of these did the trick.

发布评论

评论列表(0)

  1. 暂无评论