Hi @Tanveer-Ibn- Haresh,
According to the Microsoft 365 Developer Program FAQ, you can sign up for the developer program using a Microsoft account (created for personal use), a work account (issued by an admin for business use), or a Visual Studio ID.
However, to develop SharePoint sites and use the Microsoft Graph API with a Microsoft 365 Developer Account, you need to have a work or school account. Personal accounts, such as those created with Hotmail, are not supported for creating a Microsoft 365 tenant, which is necessary for SharePoint development.
Since you mentioned that you cannot use your work account on your personal PC for security reasons, you might consider creating a separate work or school account specifically for development purposes. This account can be used to sign up for the Microsoft 365 Developer Program, which provides access to the necessary resources for SharePoint and Graph API development.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.