Forum Discussion
Can someone please confirm whats the correct Base & Auth URL in New-F5Session.ps1
Hi All, I do have device IP, userName & Password with me. But as soon as i tried to hit the REST API in (new-F5Session.ps1) it throws unauthorized access at both BaseURL & Auth URL:
$BaseURL = "https://$LTMName/mgmt/tm/ltm/" $AuthURL = "https://$LTMName/mgmt/shared/authn/login"
Script I am referring here is :https://github.com/vercellone/POSH-LTM-Rest/blob/master/F5-LTM/Public/New-F5Session.ps1
Line No. 21 & 27.
Though if i directly access to https://$LTMName/tmui/login.jsp it works perfectly well and i can login.
Please guide me.
Thanks
- Mitesh_378646
Nimbostratus
Please Note: PS version is v5 installed on my box.
- PeteWhite
Employee
Have you set -LTMName correctly to the device name or IP address? Take a look at https://github.com/vercellone/POSH-LTM-Rest which gives you some examples
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com