Caution: This post has been translated from Japanese to English using Bing chat.
What edition of Windows do you have?
If you have the Home edition, you cannot sign in using a Microsoft365 account.
You will need to upgrade to Pro or higher.
Azure AD joined devices
Operating Systems All Windows 11 and Windows 10 devices except Home editions