...
Go to Azure portal and log in.
Click on Azure Active Directory on the left-hand side navigation.
Navigate to App registrations
Click on New registration at the top
Give your application registration a Name that describes your app or purpose e.g. OnLink Connection
Select the default option for supported account types.
...
Directory (tenant) ID. This can be seen on the Overview blade tab.
Application ID, referred to as Client ID on OnLink. This can be seen on the Overview blade tab.
And finally, you need the client secret. You should have already copied it earlier right after you created it in Step 3 above, but if you didn’t, create a new one.
...