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.1k 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)
0 votes
1 answer

and script is but nothing is happeneing. my user in adaxe browwser has the attribute to yes

asked May 10, 2023 by fjacques (20 points)
0 votes
1 answer

Hi, I'm probably over thinking this, so I'm hoping to get some clarity. But we've had an issue for a while and I can't get my head around it. When we create a ... exchange isn't needed for most of our environment now that we're Windows 10/11. Thanks, Gary

asked Sep 16, 2022 by gazoco (490 points)
3,348 questions
3,049 answers
7,789 comments
545,046 users