I tried to play around with the pac data export, but it always ends up with
Error: Value cannot be null.
Parameter name: path
Here's what I've done:
PS C:\bin\coretools> pac install latest
Feeds used:
https://api.nuget.org/v3/index.json
Installing package 'Microsoft.PowerApps.CLI' to 'C:\Users\****\AppData\Local\Microsoft\PowerAppsCLI'.
GET https://api.nuget.org/v3/registration5-gz-semver2/microsoft.powerapps.cli/index.json
OK https://api.nuget.org/v3/registration5-gz-semver2/microsoft.powerapps.cli/index.json 473ms
Package "Microsoft.PowerApps.CLI.1.19.4" is already installed.
PS C:\bin\coretools> pac data export --schemaFile "C:\bin\coretools\currency.xml"
Microsoft PowerPlatform CLI
Version: 1.19.4+gfbe2fd6
Error: Value cannot be null.
Parameter name: path
Usage: pac data export --schemaFile [--dataFile] [--overwrite] [--verbose] [--environment]
--schemaFile Schema file name. It can be created using Configuration Migration Tool (alias: -sf)
--dataFile File name for data zip file. Default data.zip (alias: -df)
--overwrite Allow overwrite output data file if it already exists (alias: -o)
--verbose Output more diagnostic information during data import/export (alias: -v)
--environment Environment (id, org id, url, unique name or partial name) (alias: -env)
PS C:\bin\coretools>
Any suggestion?