Hi,
Thanks for posting in Microsoft Q&A forum.
1,Here is a workaround for your reference. Add below registry key on one device to have a try:
HKLM\SOFTWARE\Policies\Microsoft\Windows\WorkplaceJoin, “BlockAADWorkplaceJoin”=dword:00000001
When using this registry, your users will no longer see this notification when they login to ex. Microsoft 365 apps or Microsoft Edge with another work or school account.
Similar threads for your reference:
Are you tired of “Allow my organization to manage my device”?
How to Prevent Allow My Organization to Manage My Device
Please note: The links are not from Microsoft, just for your reference.
2,You could also submit an uservoice for Microsoft Teams to stop this behavior :
Microsoft Teams feedback
Thanks for your time.
Best regards,
Simon
If the response is helpful, please click "Accept Answer" and 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.