Forum Discussion
Initialize-F5-iControl Permission Denied
Ive ran into an issue that I cannot explain. There is no proxy.
I am using the standard method to connect and this works great. It did function in the console and in the GUI application that was built for management.
Initialize-F5.iControl -HostName $u_f5bigip -Username $u_f5uid -Password $u_f5pwd
Running on the same Machine as the same User using this inside a PowerShell GUI, allows me to connect.
If I assign variable values in the console to match and run this I get the PermissionDenied error.
If I used -Credentials, I do not have any issues.
So I cannot explain why this method is still working via the GUI but not the console on version: BIG-IP 11.1.0 Build 2027.0 Hotfix HF2
Lower Env is on BIG-IP 9.3.0 Build 178.5 and has no issues with either method.
- There shouldn't be any difference. The Cmdlet just takes the parameters supplied and adds them to the .Net HTTP client call. Must be something to do with the values being passed in. There must be something going on with the values of the variables before they get sent in to the Cmdlet. A couple of things to try:
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