AnsweredAssumed Answered

pi web api does not work

Question asked by benedita on Sep 14, 2017
Latest reply on Sep 14, 2017 by yyang



I've tried to do PI Web API configuration, but I keep getting "Authorization has been denied for this request".

Below is the configuration that I have done:

1. Created a PI identity, added it to PIDBSEC, PIMAPPING, PIPOINT, and PIUSER

2. Map my windows account to piadmin

3. Added my identity to AssetServer

4. Added my identity to Configuration database

5. In the configuration database:

a.  AuthenticationMethods : Basic

b. EnableCSRFDefense:True

c. CorsSupportsCredentials:True

d. CorsOrigins:*

e. CorsMethods: GET, OPTIONS, POST

f. CorsHeaders: *


Can anyone help me with this?

Thank you.