Unable to sign in with Microsoft account when connecting to Microsoft Graph for Microsoft 365

Configuration of Microsoft Graph is extremely complex and in general not recommended without extensive knowledge of Azure services such as Active Directory and App services.

What is the goal of using Microsoft Graph?