cancel
Showing results for 
Search instead for 
Did you mean: 
dread1
Level 8
Report Inappropriate Content
Message 1 of 2

ePO form authorization issue

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[0].Fields.name = "admin"
$login.Forms[0].Fields.password = "pasword"
$mainPage = Invoke-restmethod $login.Forms[0].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.

1 Reply
Highlighted
McAfee Employee cdinet
McAfee Employee
Report Inappropriate Content
Message 2 of 2

Re: ePO form authorization issue

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?

More McAfee Tools to Help You
  • Subscription Service Notification (SNS)
  • How-to: Endpoint Removal Tool
  • Support: Endpoint Security
  • eSupport: Policy Orchestrator
  • Community Help Hub

      New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

    • Find Forum FAQs
    • Learn How to Earn Badges
    • Ask for Help
    Go to Community Help

    Join the Community

      Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

    • Get helpful solutions from McAfee experts.
    • Stay connected to product conversations that matter to you.
    • Participate in product groups led by McAfee employees.
    Join the Community
    Join the Community