GetIntuneAssignments icon indicating copy to clipboard operation
GetIntuneAssignments copied to clipboard

Sign in issue

Open diseney80 opened this issue 1 year ago • 1 comments

Hi,

You look like making application to work 2 kinds of method, one is using application client id and use Client secret , the other method is entering administration authority account to sign in page.

I did create new application into enterprise application on entra admin center, then I did input Redirect URI (optional) like below. Choose Public client/native (mobile & desktop) and enter the following address "https://login.microsoftonline.com/common/oauth2/nativeclient".

I followed your guide document included your deployment files.

If I click sign-in button then input global administration informaiton to sign-in page, it appears like that. "I am sorry, there is a problem during login"

AADSTS50011 : The redirect URI 'https://login.microsoftonline.com/common/oauth2/nativeclient' specified in the request does not match the redirect URIs configured for the applicaiton '845c6d2e-a08c-5c75318ee739'. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate to https://aka.ms/redirectUriMismatchError to learn more about how to fix this.

I did use application client id and use Client secret method , but it cannot get retrieve infomation. What should I do?

diseney80 avatar Sep 06 '24 04:09 diseney80

Did you read the documentation on how to set-up the redirect URL for your enterprise app? This doc should help you: https://github.com/sibranda/GetIntuneAssignments/blob/main/DocGetIntuneAssignments.pdf

frosted avatar Mar 17 '25 14:03 frosted