You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an Enterprise Agreement billing account administrator, I need to create service principals in order to automate Cost Management and Billing API integration
π Solution
Create functions to manage service principals for EA accounts:
flanakin
changed the title
Manage billing account service principals
[PowerShell] New-FinOpsServicePrincipal β Manage billing account service principals
Sep 1, 2023
π Scenario
As an Enterprise Agreement billing account administrator, I need to create service principals in order to automate Cost Management and Billing API integration
π Solution
Create functions to manage service principals for EA accounts:
Add-<prefix>ServicePrincipal
Get-<prefix>ServicePrincipal
Remove-<prefix>ServicePrincipal
Update-<prefix>ServicePrincipal
https://learn.microsoft.com/azure/cost-management-billing/manage/assign-roles-azure-service-principals#assign-enrollment-account-role-permission-to-the-spn
We need to determine what prefix we want to use for these, since this isn't a native
Az
module function. Some ideas:FinOps
if we want to maintain branding of the toolkit/module.Toolkit
if we want to be very explicit that this is a toolkit feature. Main downside is the length.Azure
to differentiate from anything we might do in the future for non-Azure clouds (e.g., manageBilling
since this only applies to billing scopes.Account
if we want to support each billing scope in its own function. (I'm thinking one for all scopes with a-Scope
parameter for simplicity.)Examples:
Add-FinOpsToolkitAzureBillingAccountServicePrincipal
Add-FinOpsAzureBillingServicePrincipal
Add-AzureBillingServicePrincipal
Add-FinOpsServicePrincipal
πββοΈ Ask for the community
We could use your help:
The text was updated successfully, but these errors were encountered: