Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Okay, I don't have any experience with a MAC but...the symptoms you experience are the same for Microsoft users. Close all Micrsoft applications (Outlook, Word, etc.). Make sure you also log in/out of any Microsoft application on any other devices you use (iPad, iPhone, etc.). Log into each (if you have more than one) OneDrive account. Then log out. Do this for every Microsoft email address (OneDrive) you have. Once you have logged in/out of each account, start any Office program and work through the Privacy prompts. If you have logged in/out of all OneDrive accounts on all your devices, and restart an Office application, work through the prompts, you should be good to go.