Using older versions of Outlook for Mac for personal email and calendar
I have 2 identical MBP M1 and this has not happened to me. I got errors at first when I tried to use the command. Next I prefixed it with sudo and I have never had the annoying message appear again.
In case you are not faniliar with sudo, here a litle explanation: https://support.apple.com/en-gb/guide/terminal/apd5b0b6259-a7d4-4435-947d-0dff528912ba/mac#:~:text=To%20run%20commands%20with%20superuser,password%20of%20the%20current%20user.