Hi @Manju Dharani ,
Thanks for reaching out.
I understand you are trying to add new attributes and claims to your application, but the option is greyed out.
This is because there are claims defined using claim mapping policy through Graph or PowerShell. You need to remove any claim mapping policy from your applications to define new claims and attributes here.
You can check any existing claim mapping policy defined in your application using PowerShell commands.
Connect-AzureAD
Get-AzureADServicePrincipalPolicy -Id "<objectIdofServicePrincipal>" which will provide the claim mapping policy associated with this application along with the policy id.
You can remove claim mapping policy using
Remove-AzureADServicePrincipalPolicy -Id "<objectIdofServicePrincipal>" -PolicyId 79388d04-0bcc-457e-af22-6421bb4fbd66
Once the claim mapping policy has been removed from the application, you will get an option to add new claims.
Hope this will help.
Thanks,
Shweta
Please remember to "Accept Answer" if answer helped you.