Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Where did you purchase your Msft 365? If you purchased from Microsoft directly, you shouldn't need any activation code, the Microsoft account itself is the license.
If you purchased from third party, they should provide you the code, so you can redeem with Microsoft and link it to your Microsoft account, then moving forward, you just use your account to activate.
If you can give me a bit context, I can help you further. Also what's your macOS version?