Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visio scanner is not running correctly #273

Open
Jeyaraman85 opened this issue May 6, 2021 · 0 comments
Open

Visio scanner is not running correctly #273

Jeyaraman85 opened this issue May 6, 2021 · 0 comments

Comments

@Jeyaraman85
Copy link

Hello Team,

when we try to execute the scanner with app id and app scanner , getting below error. could you please check and help me, why its happening.

we validated app id and app secret is not expire.

SharePoint.Visio.Scanner.exe -t -i -s

Unhandled Exception: Microsoft.IdentityModel.SecurityTokenService.RequestFailedE
xception: Token request failed. ---> System.Net.WebException: The remote server
returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.GetResponse()
at SharePointPnP.IdentityModel.Extensions.S2S.Protocols.OAuth2.OAuth2WebReque
st.GetResponse()
at SharePointPnP.IdentityModel.Extensions.S2S.Protocols.OAuth2.OAuth2S2SClien
t.Issue(String securityTokenServiceUrl, OAuth2AccessTokenRequest oauth2Request)
--- End of inner exception stack trace ---
at SharePointPnP.IdentityModel.Extensions.S2S.Protocols.OAuth2.OAuth2S2SClien
t.Issue(String securityTokenServiceUrl, OAuth2AccessTokenRequest oauth2Request)
at OfficeDevPnP.Core.Utilities.TokenHelper.GetAppOnlyAccessToken(String targe
tPrincipalName, String targetHost, String targetRealm)
at OfficeDevPnP.Core.AuthenticationManager.EnsureToken(String siteUrl, String
realm, String appId, String appSecret, String acsHostUrl, String globalEndPoint
Prefix)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant