Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Problem With Gateway Connection (Sharepoint 2013)

(0) ShareShare
ReportReport
Posted on by 4

Hello I have a problem. My connection with the sharepoint server broken.

 

The error:

Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

 

Problem2

 

 

Problem3

 

 

 

So in the last day this aplication work perfectly without error:

 

 Problem

 

 

 

 

What should I do to resolve this connection problem.
Yesterday everything was working properly and suddenly it completely lost the connection and never worked again.

I already installed a new gateway and still give the same type of connection error.

Can someone give me some help?

 

Categories:
  • v-micsh-msft Profile Picture
    on at
    Re: Problem With Gateway Connection (Sharepoint 2013)

    Hi rbaptista,

     

    The package can't be installed under Windows PowerShell, To install Active Directory Authentication Library, we should run the following command in the Package Manager Console.

    I suspect this should not be related with the server side, please take a look into the Gateway logs, check if we could find any helpful information there.

    I will try to report this from my side.

    Thanks for your patience and understanding.

    Regards

  • rbaptista Profile Picture
    4 on at
    Re: Problem With Gateway Connection (Sharepoint 2013)

    Hi Michael_Shao,

     

    Thanks for your help, but the problem continues.

    When I try to install the package in any way this error always occurs

     

    erropowershell.png

  • Verified answer
    v-micsh-msft Profile Picture
    on at
    Re: Problem With Gateway Connection (Sharepoint 2013)

    Hi rbaptista,

     

    "Microsoft.IdentityModel.Clients.ActiveDirectory" is related with Active Directory Authentication Library, if you have this installed before, then please update it to the last version.

    If this is not the case, then we need to check with the Gateway logs:

    Collecting logs from the gateway configurator

    Regards

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard