Questions tagged [high-trust-app]
The high-trust-app tag has no usage guidance.
21
questions
0
votes
0
answers
109
views
One user gets a System.Net.WebException: The remote server returned an error: (401) Unauthorized
Hi I've built a high trust web application for our on prem SharePoint 2016. On the whole it works fine, however one user who only works as and when needed (so once every few weeks) seems to have a ...
0
votes
1
answer
92
views
SharePoint High Trust 401 after a day
we are experiencing a really difficult problem and TBH could do with a few ideas of things to check over.
So we have a high trust SharePoint application that works well however it just seems, most ...
0
votes
1
answer
88
views
SharePoint High Trust Application - stopped being trusted - 401
We've got a high trust application which ok, in the mornings seem to 'not work' but then after the first hour was fine. But now it just blankly doesn't work with the non helpful.
System.Net....
0
votes
0
answers
60
views
SharePoint High Trust some users getting 401
Hi I've created a High Trust application, but some users seem to be getting the 401 from time to time.
I've got a hunch that it's down to them not logging off and something not 100% accurate with ...
2
votes
1
answer
1k
views
SharePoint 2016 high-trust app: getting 401 unauthorized and “Azure Access Control Service is unavailable”
We are trying to deploy our first high-trust SharePoint 2016 app in a non-dev environment but get the common “401 Unauthorized” error. Our environment is as follows:
SharePoint 2016 Server
Remote ...
1
vote
0
answers
468
views
High Trust Application Trouble Establishing Token/Connection
Hi I've created a high trust sharepoint application which seems to work well for myself as a full trust user.
However when I do the same for a test user (less permissions) it doesn't work for a while....
0
votes
1
answer
588
views
SharePoint 2013 MVC Provider Hosted App Authentication Issues in Production
I have developed a Provider Hosted MVC App for SP2013. Everything works in my development environment; however, I am struggling getting it to work in our production (on-premises) environment.
...
1
vote
0
answers
239
views
The EXECUTE permission was denied on the object 'proc_SecAddAppPrincipal', database central admin
I have a high trust add in in with the following permissions:
<AppPermissionRequests AllowAppOnlyPolicy="true">
<AppPermissionRequest Scope="http://sharepoint/content/tenant" Right=...
0
votes
2
answers
87
views
Searchresults from high trust add-in are missing
I am writing a console app for the purpose of a remote timer job that is using the high trust app only add-in model to access SharePoint by using a certificate. This is test code I created for this ...
0
votes
1
answer
161
views
Error in deployment High trust provider hosted add-in
I am trying to create a high trust provider hosted add-in in SharePoint 2016.
I have not added any custom code. It is just the auto generated code.
I have added the client signing certificate and ...
1
vote
2
answers
117
views
Is there a way to have a custom web app behave like a high-trust add-in/app without "installing" it as an app on a SharePoint site?
What we want to do is have a custom web app (React UI / .NET Core backend) at say
https://mycustomapp.mydomain.com
which is not in our SharePoint farm, but have it access data (full CRUD) in lists ...
3
votes
2
answers
931
views
High Trust v/s Low Trust
Can anyone explain to me what does High trust and low trust mean in SharePoint (or any other thing) in layman language? I am coming across these terms frequently in SharePoint but unable to understand....
0
votes
1
answer
972
views
SharePoint Online returns 401 for any call, right after getting access token
I unable to perform any request to SharePoint Online via REST Api. It was used service high-trust authorization (App Only) to get access token. JSON Web Token, I've got, looks valid, see decoded ...
1
vote
1
answer
310
views
High Trust on Provider-Hosted app and clientContext
Ok a while back I thought my application was kinda 'at odds' with what SharePoint could do at the box. So started using ClientContext and webservices to do what I wanted.
I used the MVC framework ...
0
votes
1
answer
46
views
SharePoint 2013 App Part MVC View Presents 404
I have developed a high-trust provider hosted app using the MVC framework to display a series of employee-focused KPI data widgets. Everything has been highly successful until I began implemented the ...
7
votes
1
answer
11k
views
What is SharePoint App Principal shown in appprincipals.aspx and what created it?
When I have a SharePoint 2013 site (on premises) configured for Add-ins/Apps, and I navigate to http(s)://(my sharepoint site domain)/_layouts/15/appprincipals.aspx, I see all the app principals I ...
4
votes
1
answer
3k
views
High Trust App Unable to launch in dev
I have a vm dev environment with SharePoint 2013 (SP1 + October 15 CU) and a SQL server. I have a User Profile Service Application, App and Subscription Setting Application and all the services are ...
1
vote
1
answer
749
views
Provider Hosted high trust App- 400 Bad request
I am getting 400 bad request when provider hosted app is trying to connect to SharePoint.Below is the stacktrace:
System.Net.WebException: The remote server returned an error: (400) Bad Request.
...
1
vote
1
answer
1k
views
SharePoint 2013 High Trust App Error: Type : System.Security.Cryptography.CryptographicException
I am trying to deploy a high trust app and my app is failing consistently in TokenHelper class with below error:
Inner Exception Type : System.Security.Cryptography.CryptographicException, mscorlib, ...
3
votes
0
answers
532
views
Remote event receiver IIS website Anonymous access
For On-premise environment high-trust app -
We are creating a remote event receiver and handling the "App Installed" and "App uninstalling" events. When we try to install the app it fails with the ...
1
vote
0
answers
593
views
Add user to owner group from High Trust App (user + app policy)
I have an High Trust Provider Hosted App, which is using App + User policy
[User - ManageWeb/Owner and App - Full Control]
Web oWebsite = clientContext.Web;
clientContext.Load(...