Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSFT_EXODataClassification Powershell interactive issue #2487

Closed
upaneshpatel opened this issue Nov 3, 2022 · 3 comments · Fixed by #2498 or #2515
Closed

MSFT_EXODataClassification Powershell interactive issue #2487

upaneshpatel opened this issue Nov 3, 2022 · 3 comments · Fixed by #2498 or #2515

Comments

@upaneshpatel
Copy link

Hi All -
When I'm importing MSFT_EXODataClassification to target tenant, I'm getting below error... What am I missing?

PowerShell Desired State Configuration does not support execution of commands in an interactive mode. Please ensure that the underlying command is not prompting for user input, such as missing mandatory parameter, confirmation prompt etc.

@andikrueger
Copy link
Collaborator

Please make sure you did disable MFA for your account.

@upaneshpatel
Copy link
Author

Andi - I have a "personal" test tenant where I'm performing a pilot of DSC functionality. I'm trying to replicate the ENTIRE "Exchange" workload to this personal tenant and I get different errors depending on the work load.

For MSFT_EXODataClassification I get the "interactive mode" but I don't in any other workload which would indicate to me that there is NO MFA enabled.

@upaneshpatel
Copy link
Author

I believe the other possible issue can be "Missing parameter" as indicated but looking at your code

Please ensure that the underlying command is not prompting for user input, such as missing mandatory parameter, confirmation prompt etc.

Looking at the "DataClassifiction", I do not see another mandatory parameter but I maybe missing something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants