Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Add-DatabricksMemberToGroup uses Invoke-RestMethod with the -OutFile parameter but $OutFile isn't set #204

Open
asos-andrewgoad opened this issue Dec 14, 2023 · 0 comments

Comments

@asos-andrewgoad
Copy link

asos-andrewgoad commented Dec 14, 2023

Add-DatabricksMemberToGroup uses Invoke-RestMethod with the -OutFile parameter but $OutFile isn't set, so the cmdlet fails with Cannot validate argument on parameter 'OutFile'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.

Workaround is to set $OutFile before calling the cmdlet i.e. $OutFile = 'databrickscfg'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant