Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

4 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
Jasen Somwaru
Jasen Somwaru
4 years ago

Hi. I keep getting this error when running the script on a windows 10 machine. Do you have any suggestions? Detected running explorer process Login attempt at Office 365 signin page Failed to find signin element type 1 on Office 365 login page, trying next method. Error details: Method invocation failed because [System.__ComObject] does not contain a method named ‘IHTMLDocument3_getElementById’. Failed to find signin element type 2 on Office 365 login page, trying next method. Error details: Method invocation failed because [System.__ComObject] does not contain a method named ‘IHTMLDocument3_getElementById’. Failed to find signin element type 3 on Office 365 login… Read more »

Stefan
4 years ago

Hi Jos,

I’m trying to get your script working on a Server 2012 R2 RDS environment.

I think it’s a permission issue but I don’t know where to check:

When I run the script it breaks on the new-object -com InternetExplorer.Application.

Error:

failed to start Internet Explorer COM Object, check user permissions or already running instances
Het ophalen van de COM-classfactory voor het onderdeel met CLSID {0002DF01-0000-0000-C000-000000000046} is mislukt vanwege de volgende fout: 80080005 Uitvoeren vanaf de server is mislukt (Uitzondering van HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).

Do you know what’s wrong? And where to check?