Azure custom app throwing this error while adding into teams. In addition application installed by admin and consennted by same admin.

server response: {
"error": "unauthorized_client",
"error_description":"AADSTS700016: Application with identifi │
│ er 'some_id' was not found in the directory 'Bot Framework'. 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.\r\nTrace ID: 64b0af50-8718-479b-929a-ecd978261900\r\nCorrelation ID: 6511f0dd-ff70-415c-b175-283f75a43d64\r\nTimestamp: 2023-03-14 13: 29: 30Z","error_codes":[ │
│ 00016[],
"timestamp": "2023-03-14 13:29:30Z",
"trace_id": "64b0af50-8718-479b-929a-ecd978261900",
"correlation_id": "6511f0dd-ff70-415c-b175-283f75a43d64",
"error_uri": "https://login.microsoftonline.com/error?code=700016"
}
@Manjula m - This error means you have made a mistakes while configuring the Client ID OR tenant ID in your code, First please confirm that both are same as your azure portal application client and tenant.