Additional Microsoft Entra services and features related to identity, access, and network security
Hi @Maik Brauer
Thank you for posting this in Microsoft Q&A.
I understand you question that Why without Consent Azure AD Application Refresh Token gets delivered.
In general, there are two types of consents: one is user consent (1) and another is admin consent (2).
User consent is usually initiated when a user signs in to an application. After the user has provided sign-in credentials, they're checked to determine whether consent has already been granted. During admin consent, a Privileged Administrator may grant an application access on behalf of other users (usually, on behalf of the entire organization).
If admin given scope consent via Application in Microsoft Entra. User does not get consent prompt. If no previous record of user or admin consent for the required permissions exists, the user is directed to the consent prompt window to grant the application the requested permissions.
I hope you have seen the similar consent as in the image below.
By clicking 'accept', you agree to all the permissions included in the request.
we need to add and approve the consent for that ("offline_access).
The scope parameter in Microsoft's authorization code flow allows apps to declare the resource they want the token for during token redemption. We can add offline_access scope while requesting an access token without adding it to the application. Furthermore, offline_access scope does not require admin consent. We can receive a consent prompt when requesting an authorization code.
Hope this helps. Do let us know if you any further queries.
Thanks,
Navya.