Hello everyone,
Has anyone ever tried to use in Entra ID SaaS the Certificate Based Authentication for the Exchange Online feature management?
I have configured the connector exactly as expected, the Entra ID connection works but when I configure Exchange Online feature I get a timeout error.
I tested the Exchange connection separately on my machine to verify that through Exchange Powershell the certificate authentication details I have will work.
However, I am still getting a timeout issue in ISC, and even after increasing the timeout settings, it is still failing.
I have checked via CLI the logs and this is what I am getting after testing the connection (and after receiving 200 HTTP Code from Entra ID itself):
[2025-05-15T11:45:32.878+02:00] INFO | connectorMessage ▶︎ {"AppType":"Microsoft Entra","commandType":"std:test-connection","invocationId":"8f5448db-1b98-4efe-a734-05c8b553777e","message":"TestConnection :: Connecting to ExchangeOnline to validate ExchangeConfiguration...","requestId":"468c87df5ac5461cbe1d4f51637a685d","timestamp":"2025-05-15T09:44:21.035Z","version":38}
[2025-05-15T11:45:32.878+02:00] INFO | connectorMessage ▶︎ {"AppType":"Microsoft Entra","commandType":"std:test-connection","invocationId":"8f5448db-1b98-4efe-a734-05c8b553777e","message":"Preparing instance for ExchangeOnlinePowershell instance...","requestId":"468c87df5ac5461cbe1d4f51637a685d","timestamp":"2025-05-15T09:44:21.035Z","version":38}
[2025-05-15T11:45:32.878+02:00] DEBUG | connectorMessage ▶︎ {"AppType":"Microsoft Entra","commandType":"std:test-connection","invocationId":"8f5448db-1b98-4efe-a734-05c8b553777e","message":"Application configuration is using: CERTIFICATE_BASED_AUTHENTICATION","requestId":"468c87df5ac5461cbe1d4f51637a685d","timestamp":"2025-05-15T09:44:21.035Z","version":38}
[2025-05-15T11:45:32.878+02:00] DEBUG | connectorMessage ▶︎ {"AppType":"Microsoft Entra","commandType":"std:test-connection","invocationId":"8f5448db-1b98-4efe-a734-05c8b553777e","message":"Building exchange configuration instance...","requestId":"468c87df5ac5461cbe1d4f51637a685d","timestamp":"2025-05-15T09:44:21.035Z","version":38}
[2025-05-15T11:45:32.878+02:00] DEBUG | connectorMessage ▶︎ {"AppType":"Microsoft Entra","commandType":"std:test-connection","invocationId":"8f5448db-1b98-4efe-a734-05c8b553777e","message":"Building Certificate Based Authentication Exchange Configuration","requestId":"468c87df5ac5461cbe1d4f51637a685d","timestamp":"2025-05-15T09:44:21.035Z","version":38}
[2025-05-15T11:45:32.879+02:00] INFO | connectorMessage ▶︎ {"commandType":"std:test-connection","invocationId":"8f5448db-1b98-4efe-a734-05c8b553777e","message":"Executable PATH :: /usr/bin/pwsh","requestId":"468c87df5ac5461cbe1d4f51637a685d","version":38}
[2025-05-15T11:45:32.881+02:00] INFO | connectorMessage ▶︎ {"AppType":"Microsoft Entra","commandType":"std:test-connection","invocationId":"8f5448db-1b98-4efe-a734-05c8b553777e","message":"Spawning process: pwsh","requestId":"468c87df5ac5461cbe1d4f51637a685d","timestamp":"2025-05-15T09:44:21.035Z","version":38}
[2025-05-15T11:45:32.881+02:00] INFO | connectorMessage ▶︎ {"AppType":"Microsoft Entra","commandType":"std:test-connection","invocationId":"8f5448db-1b98-4efe-a734-05c8b553777e","message":"Spawning process successful for : pwsh Process ID is: 252","requestId":"468c87df5ac5461cbe1d4f51637a685d","timestamp":"2025-05-15T09:44:21.035Z","version":38}
[2025-05-15T11:45:32.881+02:00] INFO | connectorMessage ▶︎ {"AppType":"Microsoft Entra","commandType":"std:test-connection","invocationId":"8f5448db-1b98-4efe-a734-05c8b553777e","message":"Connecting to Exchange Online. Configured Authentication method is: CERTIFICATE_BASED_AUTHENTICATION","requestId":"468c87df5ac5461cbe1d4f51637a685d","timestamp":"2025-05-15T09:44:21.035Z","version":38}
[2025-05-15T11:45:32.881+02:00] INFO | connectorMessage ▶︎ {"AppType":"Microsoft Entra","commandType":"std:test-connection","invocationId":"8f5448db-1b98-4efe-a734-05c8b553777e","message":"Executing command: Connetor-Command : Set-Certificate","requestId":"468c87df5ac5461cbe1d4f51637a685d","timestamp":"2025-05-15T09:44:21.035Z","version":38}
[2025-05-15T11:48:20.350+02:00] INFO | commandOutcome ▶︎ Command failed with [ConnectorError] command canceled or expired: std:test-connection, for connector version 38. output_count=0 output_bytes=0 keep_alive_count=0 state_count=0. Elapsed time 240061ms
[2025-05-15T11:49:32.852+02:00] INFO | commandOutcome ▶︎ Command failed with [ConnectorError] command canceled or expired: std:test-connection, for connector version 38. output_count=0 output_bytes=0 keep_alive_count=0 state_count=0. Elapsed time 240119ms