Hello Garima,
Try reading the following:
When an app registration is deleted from the organization, the app is in a suspended state, and its configurations are preserved. When you restore an app registration, its configurations are also restored. However, if there were any organization-specific settings such as permission consents and user and group assignments for a certain organization stored in Enterprise applications for the application's home tenant, they're restored alongside the app registration.
To restore an application:
- Go to the Deleted applications tab. Search for and select one of the applications deleted less than 30 days ago.
- Select Restore app registration.
Cited from https://learn.microsoft.com/en-us/entra/identity-platform/howto-restore-app#restore-a-recently-deleted-application
If this is helpful please accept answer.