0 votes

Trying to add a O365 tenant but get an error " Invalid credentials- Could not load file or assembly" with a path to a .dll file or one of its dependencies. This assembly is built by a run time newer then the currently loaded run-time and cannot be loaded.

by (50 points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello,

The thing is that the latest version of the Azure AD Module targets the .NET Framework 4.0 runtime, however Adaxes targets .NETFramework 2.0 runtime. This makes it impossible to load the new version of the Azure AD Module in Adaxes.

To work around the issue:

  1. Download version 8362.1 of the module.
  2. Uninstall the version of the module that you have.
  3. Install version 8362.1.
  4. Important: Restart Softerra Adaxes service.

We are planning to switch Adaxes to a higher .NET Framework runtime version in Adaxes 2017.1.

Related questions

0 votes
1 answer

A service desk user has encountered an error when trying to access shared mailbox delegation. "Send As" is visible however "Full Access" displays red text stating "Failed to get ... error. Any ideas why this is happening and what I can do to rectify it?

asked Nov 11, 2022 by Homelander90 (330 points)
0 votes
1 answer

I am trying to use this script from the script repository: https://www.adaxes.com/script-repository/enable-mfa-with-phone-number-for-a-user-in-microsoft-365-s686.htm I ... if I just didn't install it correctly because Adaxes Powershell doesn't recognize it.

asked Oct 10, 2023 by ocanizales (40 points)
0 votes
1 answer

We are working with an HR package that will send us a CSV file every 4 hours with a list of users that need to be created, modified or deleted from our environment. The CSV ... change, etc.) Is there a script that can manage all of that on a scheduled basis?

asked Sep 2, 2020 by RayBilyk (230 points)
0 votes
0 answers

I am trying to work out a method to create Drop-Down lists to select printers and printer properties. Using PowerShell I can extract a list of printers and printer properties to either ... or CSV file for my drop-down lists. Any ideas on how to do this? Thanks

asked Sep 17, 2019 by Fixxer (40 points)
0 votes
1 answer

So I need to export a list of all user's Line URI's to a CSV file. Running Adaxes 2021 Version 3.14.18804.0 (64 bit) and Teams Powershell 4.1.0 ... a Microsoft 365 account } finally { # Close the connection and release resources Disconnect-MicrosoftTeams }

asked Aug 4, 2022 by TheLexicon (200 points)
3,343 questions
3,044 answers
7,766 comments
544,953 users