BBS318

Issue connecting PI server from cloud using PI web API

Discussion created by BBS318 on Sep 22, 2020

Hi All,

 

Please help here, I am able to connect and collect data from PI using web API from my local machine, but while I am hosting the code in cloud i getting unauthorized error.

Please suggest if I am missing any configuration from cloud.

 

Below given the error details explained.

Note - we are using service account as user name.

 

Local Environment

  • We are able to connect to PI Web API without username and password.
  • Getting unauthorized issue with username and password

Azure Environment

  • Getting No Such Host found issue in PI Web API without username and password
  • Getting unauthorized issue with username and password

Outcomes