Skip to content

ServerUnauthorizedAccessException #1

@ivoloshin

Description

@ivoloshin

Hello,

We've followed the multitude of online articles, code examples and help comments and even worked with MSDN support and are still having difficulty setting this up. Your code seems like it should be functioning, however, we seem to get the following error for all users except for one.

ServerUnauthorizedAccessException: Access denied. You do not have permission to perform this action or access this resource.

Do you think you could shed some light on what may be causing this? We basically have a ADFS server with a realm for SharePoint and one for a SharePoint trusted app. We want the app to login and access SharePoint API using the SAML credentials. Like I said, the weird thing is that this works for one user, but we cannot tell what the difference is between that account that the ones that do not work.

Thank you,
Ilya

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions