Anamika, there are a few things we need to check, assuming that you SQL instance is installed and configured against Active Directory and is an on-premise database. PaaS and SQL MI are a little challenging to use Integrated Auth.
1. Your IS instance is running on Windows Server and under an Active Directory Service Account (SA)
2. The SA has been granted at least db_reader permissions to the DB
3. You have set the property integratedSecurity=true and also you should have set certificate properties. Similar to encrypt=true;trustServerCertificate=true;loginTimeout=60;integratedSecurity=true;
4. You may add multiSubnetFailover=true; if you are connecting to an Availability Group
5. You have the mssql-jdbc_auth-*.dll installed in the correct folder
------------------------------
Jerome Green
------------------------------