0 votes

I am getting the following error within Adaxes when I try to connect to my Office 365 tenant or run any powershell scripts against it.

Failed to create an Office 365 account. The type initializer for 'System.Management.Automation.Runspaces.InitialSessionState' threw an exception.

Does anybody have a solution for this :?:

by (380 points)
0

Nevermind! It looks like a server reboot fixed the issue. :D

1 Answer

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

Hello,

It is a well-known issue of .NET Framework 3.5. If the issue reappears, simply restarting the Softerra Adaxes Service will suffice.

Related questions

0 votes
1 answer

Hi, We encounter an error on one of our Adaxes service (Adaxes 2016 3.7.13430) when activating Licence for new user : Softerra.Adaxes.CommandPipeline.CommandProcessingException: The ... stack trace --- Any idea ? Thank you in advance for your help regards

asked Sep 20, 2017 by smasset (740 points)
0 votes
1 answer

Hi, I am trying to create a mailbox during a business rule and setting the usageLocation of user to "UK". However this is failing .... If I try to edit user via Adaxes and ... -directory/ Is this a known error? We are running on version 3.16.21515.0 (64 bit)

asked Sep 29, 2023 by wintec01 (1.1k points)
0 votes
0 answers

When attempting to assign licenses during the "after creating a user" rule we're reciving the following error. Failed to create a remote mailbox for the user. The address ' ... mail attribute to the proper format that isn't the onmicrosoft.com domain as well.

asked Sep 2, 2021 by zorps (20 points)
0 votes
1 answer

Good afternoon, Is there a script for adding a user to an already existing Office 365 Shared Mailbox? I want to add this script onto the onboarding rules I have added already.

asked May 7 by ocanizales (60 points)
0 votes
1 answer

Getting "object reference not set to an instance" when trying to sign into Office 365 Tenant Was working fine before

asked Sep 1, 2021 by davm79 (40 points)
3,374 questions
3,073 answers
7,817 comments
545,380 users