Hello @Manoj Ghogale Thank you for reaching out to us on Microsoft Q&A platform. Happy to help!
Here’s documentation on how to assign necessary roles to the SPN for both MCA and EA accounts. https://learn.microsoft.com/en-us/azure/cost-management-billing/automate/cost-management-api-permissions#assign-service-principal-access-to-azure-resource-manager-apis
Copying the text from the above article:
· Enterprise Agreements - To assign service principal permissions to your enterprise billing account, departments, or enrollment account scopes, see Assign roles to Azure Enterprise Agreement service principal names.
· Microsoft Customer Agreements - To assign service principal permissions to your Microsoft Customer Agreement billing account, billing profile, invoice section or customer scopes, see Manage billing roles in the Azure portal. Configure the permission to your service principal in the portal as you would a normal user. If you want to automate permissions assignment, see the Billing Role Assignments API.
If the response helped, do "Accept Answer" and up-vote it