Sharepoint 2019 On Premises app only authentication issue
While connecting to Sharepoint 2019 On Premises using app only authentication specifying sharepoint url, client id and client secret but getting issue provided below
Error Message: The remote server returned an error: (400) Bad Request. – {“error”:”invalid_request”,”error_description”:”AADSTS90002: Tenant ‘xxxxxx’ not found. Check to make sure you have the correct tenant ID and are signing into the correct cloud. Check with your subscription administrator, this may happen if there are no active subscriptions for the tenant. Trace ID: xxxxxx Correlation ID: xxxxxx Timestamp: 2024-09-13 14:47:27Z”,”error_codes”:[90002],”timestamp”:”2024-09-13 14:47:27Z”,”trace_id”:”xxxxxx”,”correlation_id”:”xxxxxx”,”error_uri”:”https://accounts.accesscontrol.windows.net/error?code=90002“}
Inner Exception: The remote server returned an error: (400) Bad Request.
While connecting to Sharepoint 2019 On Premises using app only authentication specifying sharepoint url, client id and client secret but getting issue provided below Error Message: The remote server returned an error: (400) Bad Request. – {“error”:”invalid_request”,”error_description”:”AADSTS90002: Tenant ‘xxxxxx’ not found. Check to make sure you have the correct tenant ID and are signing into the correct cloud. Check with your subscription administrator, this may happen if there are no active subscriptions for the tenant. Trace ID: xxxxxx Correlation ID: xxxxxx Timestamp: 2024-09-13 14:47:27Z”,”error_codes”:[90002],”timestamp”:”2024-09-13 14:47:27Z”,”trace_id”:”xxxxxx”,”correlation_id”:”xxxxxx”,”error_uri”:”https://accounts.accesscontrol.windows.net/error?code=90002″}Inner Exception: The remote server returned an error: (400) Bad Request. Read More