0 votes

Hi,
Since 5 days i've got a issue with my Office 365 tenant. In the users properties i can't change plan.
When i try to re-enter credential i've got a error :
Invalid Credentials :
System.Management.Automation.PSCredential exception
I don't knwo where to look (of course credential are OK)

Best regards

by (190 points)
0

Hello Nicolas,

Check Adaxes Event Log for any errors and/or warnings that may be related to the issue. For information on how to view it, see the following help article: http://www.adaxes.com/help/?ServiceAdmi ... ntLog.html.

0

Thanks for the responce :

Here the error log :

Nom du journal :Adaxes
Source :       Adaxes Service
Date :         15/10/2017 23:08:59
ID de l’événement :0
Catégorie de la tâche :Aucun
Niveau :       Erreur
Mots clés :    Classique
Utilisateur :  N/A
Ordinateur :   [serveur_name]
Description :
Softerra.Adaxes.BackgroundThreadException: Exchange Online API: Failed to execute the following operation: Get Exchange UM dial plans (Exchange Organization: Fibre Excellence). ---> System.TypeInitializationException: Une exception a été levée par l'initialiseur de type pour 'System.Management.Automation.PSCredential'. ---> System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
   à System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   à System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value)
   à System.Management.Automation.PSTraceSource.GetTracer(String name, String description, Boolean traceHeaders)
   à System.Management.Automation.PSCredential..cctor()
   --- Fin de la trace de la pile d'exception interne ---
   à System.Management.Automation.PSCredential..ctor(String userName, SecureString password)
   à #0e.#Oh.#W7()
   à #eb.#Wb.#Y7()
   à #0e.#Nh.Execute(#ib command)
   à #eb.#Ji.Execute(#ib command)
   à #0e.#5g.#Z7(#jb command, #6g context)
   à #0e.#oh.#Z7(#jb command, #6g context)
   à #0e.#5g.ExecuteOperation(#Ne operation, #6g context)
   à #0e.#5g.#5bb(#Ne operation)
   à #re.#qe.Execute()
   --- Fin de la trace de la pile d'exception interne ---
XML de l’événement :
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Adaxes Service" />
    <EventID Qualifiers="0">0</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2017-10-15T21:08:59.000000000Z" />
    <EventRecordID>2722</EventRecordID>
    <Channel>Adaxes</Channel>
    <Computer>[computer_name]</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Softerra.Adaxes.BackgroundThreadException: Exchange Online API: Failed to execute the following operation: Get Exchange UM dial plans (Exchange Organization: Fibre Excellence). ---> System.TypeInitializationException: Une exception a été levée par l'initialiseur de type pour 'System.Management.Automation.PSCredential'. ---> System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
   à System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   à System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value)
   à System.Management.Automation.PSTraceSource.GetTracer(String name, String description, Boolean traceHeaders)
   à System.Management.Automation.PSCredential..cctor()
   --- Fin de la trace de la pile d'exception interne ---
   à System.Management.Automation.PSCredential..ctor(String userName, SecureString password)
   à #0e.#Oh.#W7()
   à #eb.#Wb.#Y7()
   à #0e.#Nh.Execute(#ib command)
   à #eb.#Ji.Execute(#ib command)
   à #0e.#5g.#Z7(#jb command, #6g context)
   à #0e.#oh.#Z7(#jb command, #6g context)
   à #0e.#5g.ExecuteOperation(#Ne operation, #6g context)
   à #0e.#5g.#5bb(#Ne operation)
   à #re.#qe.Execute()
   --- Fin de la trace de la pile d'exception interne ---</Data>
  </EventData>
</Event>

As said before the credentials are good, and was working before

Best regards

1 Answer

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

Hello Nicolas,

It is a well-known issue in .NET Framework 3.5. To quickly work around it, simply restart Softerra Adaxes Service. We will fix it in the next major version of Adaxes, which will be based on .NET Framework 4.5.2.

0

Work like a charm !
Thx

Related questions

0 votes
1 answer

I installed the older version of 64 bit Windows Azure Active Directory Module as referenced here: Could not load file or assembly and the 64-bit version of the Microsoft ... connect via Azure AD Module directly with the credentials, so I have confirmed that.

asked Feb 22, 2017 by rurbaniak (1.4k 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.5k points)
0 votes
1 answer

Is there a way to add Microsoft Defender for Office 365 Plan 2 licenses from Adaxes? Currently it is not showing in the list of available licenses to modify. The endpoint ... the E3 license is showing up no problem, just not the standalone one for O365.

asked Aug 20 by Alex23 (50 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

Hi, We would like to add an Office 365 service plan (Forms) to all users with an 365 licence. The issue we are facing now is that we have users ... add an additional service plan without disabling/modifying the exiting service plans? Kind regards, Allistair

asked May 30, 2023 by a.blonk (170 points)
3,538 questions
3,229 answers
8,224 comments
547,747 users