You may try the following steps to get automatic consent to all the applications to the user
1.Sign into the Azure portal as a Global Administrator and open Azure Active Directory > Enterprise applications > Consent and permissions > User consent settings.
2.Under User consent for applications, select which consent setting you'd like to configure for all users and save the settings.
--please don't forget to upvote
and Accept as answer
if the reply is helpful--