Unable to trigger jenkins remotely after integrated successfully with Azure AD

But why do we need to use Jenkins User ID?
Earlier the curl call with below parameters used to work
curl -u ‘test@abc.ai’:‘https://myjenkins.abc.com/api/json