@Rizwan Assad Thank you for reaching out to us, As I understand you want to leverage defender for identity for DB's and apps which are cloud based as well,
What does defender for identity collect -
Defender for identity is primary for detecting on-premise AD attacks, in order to protect other resources you can leverage defender for cloud - https://video2.skills-academy.com/en-us/azure/defender-for-cloud/defender-for-cloud-introduction#protect-cloud-workloads
https://video2.skills-academy.com/en-us/azure/defender-for-cloud/connect-azure-subscription
Let me know if you have any further questions, feel free to post back.
Please remember to "Accept Answer" if answer helped, so that others in the community facing similar issues can easily find the solution.