Skip to content

New-FinOpsCostExport for dataset 'PriceSheet' fails with message 'Invalid dataset granularity: 'Daily'. (BadRequest)' #1193

Description

@RolandKrummenacher

🐛 Problem

When trying to create an cost management export via powershell for pricesheet it fails with message Invalid dataset granularity: 'Daily'. (BadRequest)

👣 Repro steps

Setup: MCA
Role: Billing account owner
Step 1: Open cloud shell
Step 2: Install-Module -Name FinOpsToolkit
Step 3: Execute New-FinOpsCostExport like in the screenshot below.

🤔 Expected

A pricesheet export gets created.

📷 Screenshots

Image

ℹ️ Additional context

Granularity seems to be hardcoded to "Daily":

Image

🙋‍♀️ Ask for the community

We could use your help:

  1. Please vote this issue up (👍) to prioritize it.
  2. Leave comments to help us solidify the vision.

Metadata

Metadata

Labels

OKR: 1.2 ReliabilityIssues that improve reliability and resiliencyTool: PowerShellPowerShell scripts and automation

Type

No fields configured for Bug.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions