Office 365 Configuration Wizard Broken Text
Office 365 Configuration Wizard Broken Text
Never tried this particular config wizard before, but I have a feeling the second part shouldn't look like this? Not sure if that C:\Users\mgurthie is intended to be some example not displaying properly or something got saved into this config wizard that shouldn't have.
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Office 365 Configuration Wizard Broken Text
Hi,
Thanks for posting this, it looks like there is a bug in the wizard. If you can run a couple of direct commands from the CLI, that would help us gather some more information as I'm not able to replicate this on my test server. The commands will need application id, directory id, and secret from your account.
Organization
Users
Best Regards,
Benjamin
Thanks for posting this, it looks like there is a bug in the wizard. If you can run a couple of direct commands from the CLI, that would help us gather some more information as I'm not able to replicate this on my test server. The commands will need application id, directory id, and secret from your account.
Organization
Code: Select all
/usr/local/nagios/libexec/check_microsoft_365.php --tenant 'directory id' --appid 'application id' --secret 'secret' --warning '0' --critical '1' --mode 'organization'
Code: Select all
/usr/local/nagios/libexec/check_microsoft_365.php --tenant 'directory id' --appid 'application id' --secret 'secret' --warning '0' --critical '1' --mode 'userslistBenjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Office 365 Configuration Wizard Broken Text
Output on the first is:
{"@odata.context":"https://graph.microsoft.com/v1.0/$metad ... e)","value":[{"displayName":"Windstream Communications","tenantType":"AAD"}]}
and the second is:
PHP Notice: Undefined offset: 0 in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3003
PHP Notice: Undefined index: value in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3034
{"value":null}
{"@odata.context":"https://graph.microsoft.com/v1.0/$metad ... e)","value":[{"displayName":"Windstream Communications","tenantType":"AAD"}]}
and the second is:
PHP Notice: Undefined offset: 0 in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3003
PHP Notice: Undefined index: value in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3017
PHP Warning: array_merge(): Argument #2 is not an array in /Nagios/usr/local/nagios/libexec/check_microsoft_365.php on line 3034
{"value":null}
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Office 365 Configuration Wizard Broken Text
HI J.A.K,
That's very helpful. The first one looks good, can you run the second one once more what the verbose option added, for example:
Please note the output will contain the secret in a few places, so I would recommend removing that before posting.
Thank you!
Benjamin
That's very helpful. The first one looks good, can you run the second one once more what the verbose option added, for example:
Code: Select all
/usr/local/nagios/libexec/check_microsoft_365.php --tenant 'directory id' --appid 'application id' --secret 'secret' --warning '0' --critical '1' --mode 'userslist' -vvv
Thank you!
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Office 365 Configuration Wizard Broken Text
Piping the output to a txt file has it at about 400MB. I'd rather not post it here with the kind of information it pertains, would the PM system support sending a file of that size?
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Office 365 Configuration Wizard Broken Text
Hi J.A.K,
I checked back with the developer on this one and they will make a quick script to grab the critical output here.
If possible, try to compress this down, and if it gets small enough, send it over in a PM. If not, I will attach the script to the thread.
Thanks!
Benjamin
I checked back with the developer on this one and they will make a quick script to grab the critical output here.
If possible, try to compress this down, and if it gets small enough, send it over in a PM. If not, I will attach the script to the thread.
Thanks!
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Office 365 Configuration Wizard Broken Text
All text so if you're ok with .7z it compresses down to a couple of MB. Still you're looking at nearly 10 million lines of text since it's dumping nearly every object in Azure.
I'll PM that over now, but shoot the script my way if you want me to give it a whirl.
I'll PM that over now, but shoot the script my way if you want me to give it a whirl.
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Office 365 Configuration Wizard Broken Text
Hi,
Thanks for the output file, I sent that over to the developer. If you have some time later, I've attached the script. Please change the extension to a PHP file, as that cannot be uploaded.
Commands:
And to limit the data:
Thanks!
Benjamin
Thanks for the output file, I sent that over to the developer. If you have some time later, I've attached the script. Please change the extension to a PHP file, as that cannot be uploaded.
Commands:
Code: Select all
./check_ms365.php --tenant 'directory id' --appid 'application id' --secret 'secret' --warning '0' --critical '1' --mode 'userslist'
Code: Select all
./check_ms365.php --tenant 'directory id' --appid 'application id' --secret 'secret' --warning '0' --critical '1' --mode 'userslist' --datalimit 2
Benjamin
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Office 365 Configuration Wizard Broken Text
Here you go. Ran it with that data limit 2. Couple of errors in there so hopefully that helps.
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Office 365 Configuration Wizard Broken Text
Hi @J.A.K,
Excellent. Really appreciate the assistance on this. I'm reaching out to the developer again and I'll update you once I have more information.
Thanks,
Benjamin
Excellent. Really appreciate the assistance on this. I'm reaching out to the developer again and I'll update you once I have more information.
Thanks,
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!