Hi,
I am facing issue with Teams app while invoking SSO.
I am using latest teams-js library: "@microsoft/teams-js": "^2.26.0",
Note: This issue happening only on Desktop Teams app and iOS Teams app, while it is working fine in Web Teams and Android Teams.
I have added below clients in authorization section.
Teams desktop, mobile | 1fec8e78-bce4-4aaf-ab1b-5451cc387264
Teams web | 5e3ce6c0-2b1f-4285-8d4b-75ee78787346
Microsoft 365 web | 4765445b-32c6-49b0-83e6-1d93765276ca
Microsoft 365 desktop | 0ec893e0-5785-4de6-99da-4ed124e5296c
Microsoft 365 mobile | d3590ed6-52b3-4102-aeff-aad2292ab01c
Outlook desktop | d3590ed6-52b3-4102-aeff-aad2292ab01c
Outlook web | bc59ab01-8403-45c6-8796-ac3ef710b3e3
Outlook mobile | 27922004-5251-4030-b22d-91ecd9a37ea4
Below is the error message I am getting:
Error: Error: IncorrectConfiguration {"Description":"status code : '400', contents : '(pii)'","Domain":"com.microsoft.oneauth","ErrorCode":"2002","Message":"Access denied for the resource.","SystemErrorCode":"0","Tag":"65t3i","Type":"OneAuth","additional_query_parameters_count":"1","all_error_tags":"65t3i|65t3i","api_error_code":"0","api_error_context":"status code : '400', contents : '(pii)'","api_error_tag":"65t3i","api_name":"AcquireTokenSilently","api_status_code":"StatusInternal::IncorrectConfiguration","authority_type":"AAD","authorization_type":"WindowsIntegratedAuth","broker_app_used":"false","client_id":"1fec8e78-bce4-4aaf-ab1b-5451cc387264","correlation_id":"b06f91b8-c33d-4b03-8734-182a28ec90b7","http_call_count":"1","is_successful":"false","last_http_response_code":"400","msal_version":"1.1.0+5f1afcdd","original_authority":"https://login.microsoftonline.com/","request_duration":"963","request_eligible_for_broker":"true","start_time":"2025-03-04T10:50:13.000Z","stop_time":"2025-03-04T10:50:14.000Z","was_request_throttled":"false"}
at index-DvHFLbda.js:2201:2144
at async i (index-DvHFLbda.js:2201:129061)
Hi,
I am facing issue with Teams app while invoking SSO.
I am using latest teams-js library: "@microsoft/teams-js": "^2.26.0",
Note: This issue happening only on Desktop Teams app and iOS Teams app, while it is working fine in Web Teams and Android Teams.
I have added below clients in authorization section.
Teams desktop, mobile | 1fec8e78-bce4-4aaf-ab1b-5451cc387264
Teams web | 5e3ce6c0-2b1f-4285-8d4b-75ee78787346
Microsoft 365 web | 4765445b-32c6-49b0-83e6-1d93765276ca
Microsoft 365 desktop | 0ec893e0-5785-4de6-99da-4ed124e5296c
Microsoft 365 mobile | d3590ed6-52b3-4102-aeff-aad2292ab01c
Outlook desktop | d3590ed6-52b3-4102-aeff-aad2292ab01c
Outlook web | bc59ab01-8403-45c6-8796-ac3ef710b3e3
Outlook mobile | 27922004-5251-4030-b22d-91ecd9a37ea4
Below is the error message I am getting:
Error: Error: IncorrectConfiguration {"Description":"status code : '400', contents : '(pii)'","Domain":"com.microsoft.oneauth","ErrorCode":"2002","Message":"Access denied for the resource.","SystemErrorCode":"0","Tag":"65t3i","Type":"OneAuth","additional_query_parameters_count":"1","all_error_tags":"65t3i|65t3i","api_error_code":"0","api_error_context":"status code : '400', contents : '(pii)'","api_error_tag":"65t3i","api_name":"AcquireTokenSilently","api_status_code":"StatusInternal::IncorrectConfiguration","authority_type":"AAD","authorization_type":"WindowsIntegratedAuth","broker_app_used":"false","client_id":"1fec8e78-bce4-4aaf-ab1b-5451cc387264","correlation_id":"b06f91b8-c33d-4b03-8734-182a28ec90b7","http_call_count":"1","is_successful":"false","last_http_response_code":"400","msal_version":"1.1.0+5f1afcdd","original_authority":"https://login.microsoftonline.com/","request_duration":"963","request_eligible_for_broker":"true","start_time":"2025-03-04T10:50:13.000Z","stop_time":"2025-03-04T10:50:14.000Z","was_request_throttled":"false"}
at index-DvHFLbda.js:2201:2144
at async i (index-DvHFLbda.js:2201:129061)