Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorry, but we’re having trouble signing you in. #148

Closed
geektbee opened this issue May 13, 2024 · 3 comments
Closed

Sorry, but we’re having trouble signing you in. #148

geektbee opened this issue May 13, 2024 · 3 comments

Comments

@geektbee
Copy link

Ever since May 07, 2024, our system has been getting an error when attempting to run Connect-MSGraph -PSCredential $creds. The error is:

AADSTS700016: Application with identifier '<GUID-REDACTED>' was not found in the directory '<COMPANY-INITIALS-REDACTED>'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.

(Replace the REDEACTED tags with real data in your mind, please, because there really is something legit there)

We can clearly see the application in the Enterprise Applications section of the Azure portal. We can see the account that we are using has permission in the "Users and Groups" tab. We can see the failed sign-in attempt in the logs on this application with this Application ID in the "Sign-In Logs". This is very strange, because it has logged a message saying that it can't find itself, then saved the log to itself that it can't find itself.

We have attempted to Remove-Module and re-Install-Module, as well as re-run the Connect-MSGraph -AdminConsent cmd. The message returns the same every time and the Enterprise Application's Sign-In Logs logs it.

What other data do you need from us to help resolve this?

image

image

@weyCC81
Copy link

weyCC81 commented May 15, 2024

Could this be related to?: microsoftgraph/powershell-intune-samples#245
@nsoy @rohitramu

@tfosmark Can you email the C+L governance team about this repo ownership?

Solution: https://learn.microsoft.com/en-us/answers/questions/1659638/weve-detected-a-microsoft-intune-powershell-script

@geektbee
Copy link
Author

@weyCC81
Ah, I see. Thank you for your guidance on all this!!

@tfosmark
Copy link

@weyCC81 I'm not clear on your question. Are you referencing the microsoft/Intune-PowerShell-SDK repo, or the microsoftgraph/powershell-intune-samples repo? What's the governance-specific concern?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants