Hello @TANG,
please proceed as described here and remove the Office license file on your Mac. Then restart your Mac and reinstall the Microsoft 365 desktop applications. If you are prompted to sign in, please sign in with your Microsoft 365 account. After that, the applications should be licensed again.
If this is helpful, please accept the answer. Thank you.