Azure
Stop using ClientID and Secret to access your Office 365 services
So you are building an application. When following most of the guidelines you find online they will tell you that you will need to use an Azure AD App Registration.
read more