I try to perform from based authorization on ePO by issuing proper web request in powershell:
$login = Invoke-WebRequest https://epo-fqnd-here:8443/core/orionSplashScreen.do -SessionVariable epo$login.Forms.Fields.name = "admin"$login.Forms.Fields.password = "pasword"$mainPage = Invoke-restmethod $login.Forms.Action -WebSession $epo -Body $login -Method Post
And I receive Invoke-restmethod : The remote name could not be resolved: 'j_security_check'
How to bypass it?
P.S. I'm aware of REST api but it does not contain data that I need. So I'm forced to login as interactive user and parse the output.
Check the web api scripting guide - PD24810
Was my reply helpful?If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?
Download the new ePolicy Orchestrator (ePO) Support Center Extension which simplifies ePO management and provides support resources directly in the console. Learn more about ePO Support Center
2821 Mission College Blvd.
Santa Clara, CA 95054 USA
Consumer Support | Enterprise Support | McAfee.com
Legal | Privacy | Copyright © 2019 McAfee, LLC