Yvand / EntraCP

EntraCP (formerly AzureCP) is a claims provider that connects SharePoint to your Microsoft Entra ID tenant, in federated authentication
https://entracp.yvand.net/
Apache License 2.0
35 stars 8 forks source link

ULS Entries #236

Closed Getoffmypatch closed 2 months ago

Getoffmypatch commented 2 months ago

While reviwing ULS logs relating to the deployment, I came across this entry. Please note that I didn't experience an issue - just trying to make sure that everything is set correctly.

[EntraCP] LogMsalError False MSAL 4.56.0.0 MSAL.Desktop 4.8 or later Windows Server 2016 Standard [2024-03-19 15:54:38Z - 550bdc97-571e-4fed-a4bb-11f39d67f3b1] Exception type: Microsoft.Identity.Client.MsalServiceException , ErrorCode: invalid_client HTTP StatusCode 401 CorrelationId 550bdc97-571e-4fed-a4bb-11f39d67f3b1

[EntraCP] Unexpected error : Could not authenticate for tenant '.onmicrosoft.com': MsalServiceException: A configuration issue is preventing authentication - check the error message from the server for details. You can modify the configuration in the application registration portal. See https://aka.ms/msal-net-invalid-client for details. Original exception: AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret ID, for a secret added to app 'c4793d8e-b292-48bf-8542-dd29a1d85f55'. Trace ID: 6effe6e7-3ad8-4402-bb16-1572e1b15100 Correlation ID: 550bdc97-571e-4fed-a4bb-11f39d67f3b1 Timestamp: 2024-03-19 15:54:38Z

Thanks, Shane

Yvand commented 2 months ago

Hi @Getoffmypatch, the error message says: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret ID, for a secret added to app 'c4793d8e-b292-48bf-8542-dd29a1d85f55'

Are you actually able to get results from this tenant?

Getoffmypatch commented 2 months ago

Yes - I am getting results

image

Getoffmypatch commented 2 months ago

I removed the pre-existing AzureCP and redeployed EntraCP and that seems to have fixed it.

Thanks