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

Ignore windows popup with Get-ODAuthentication #6

Open
iserje opened this issue Aug 16, 2019 · 2 comments
Open

Ignore windows popup with Get-ODAuthentication #6

iserje opened this issue Aug 16, 2019 · 2 comments

Comments

@iserje
Copy link

iserje commented Aug 16, 2019

Is there a way to ignore a window popup that OneDrive (personal) throws once in a while? E.g. Microsoft notifies me about "changes to their policy". It breaks the whole unattended process..

@MarcelMeurer
Copy link
Owner

Hi Iserje. In a previous version, I build a function to click on the web forms coming up for the authentication but this was not stable (same reasons like the policy changes). I will try to figure out if it possible to ignore the policy changes.

@PaulDC08
Copy link

PaulDC08 commented Apr 14, 2020

Hi Marcel,

This is a great module, very useful. Thank you for writing it. I am running into issues with automating it via task scheduler. Were you able to make any changes to the authentication function to support running onedrive scripts in an automated manner?

Below is the error that I am getting when trying to run a OneDrive for Business script that uses the latest version of the module v.2.2.4.

Exception calling "ShowDialog" with "0" argument(s): "Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.

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

No branches or pull requests

3 participants