Hi @Ido Moshe
According to the error messages you provided, these two errors are caused by Teams design.
The error "Bot is not authorized to remove organizer in the conversation" indicates that the Graph API does not allow bots to remove the meeting organizer. This is a built-in restriction to ensure that the organizer, who typically has control over the meeting, cannot be removed by a bot.
The error "Action is invalid, Compliance Recorder can remove only recorded participant" suggests that compliance recording bots are restricted to interacting only with recorded participants. This is likely a compliance measure to ensure that all interactions by the bot are logged and monitored.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.