Hi Mani,
This is not an expected behavior.
This error seems to be related with an incomplete parsing from the MS Graph configuration side. Could you confirm you are configuring in the API permission section, the /security/alerts_v2?
Verify that you have configured the alerts relationship.
Also, confirm your Azure app registration has the necessary permissions.
Registering your app
Let me know if this solves the issue.