Page 1 of 1

No Mailboxes appear

Posted: Thu Apr 18, 2019 5:02 pm
by RSCS
Good afternoon,

I've successfully installed the plugin, configured it, added a client and initiated a scan. The client has Office 365 Plan 1 mailboxes only; no Azure and no Sharepoint.
I get the Groups but none of the mailboxes appear in the Exchange tab. I have enabled debugging and there are no errors. I checked the plugin_sw_office365forlabtech_mailboxes table and can see all of the mailboxes there.

What could the problem be?

Thanks.

Re: No Mailboxes appear

Posted: Fri Apr 19, 2019 2:47 pm
by Cubert
Interesting,


What does this query present to you when run?
SELECT UserPrincipalName as UserID, DisplayName as UserName FROM plugin_sw_office365forlabtech_users Where ClientID = ""

Re: No Mailboxes appear

Posted: Mon Apr 22, 2019 1:35 pm
by RSCS
Good morning,

No results are returned.

Let me know how to proceed.
Thanks.

Re: No Mailboxes appear

Posted: Wed Apr 24, 2019 12:49 pm
by Cubert
I am assuming you placed a "client ID" in the quoted area of command?


Lets try this? if any data is in the user list this will reveal it.
SELECT UserPrincipalName as UserID, DisplayName as UserName FROM plugin_sw_office365forlabtech_users
If nothing then please run a AZURE scan in debug mode from plugin console and post that as a block quote here. Let me inspect it to see what might be the issues.

Re: No Mailboxes appear

Posted: Wed Apr 24, 2019 12:50 pm
by Cubert

Re: No Mailboxes appear

Posted: Wed Apr 24, 2019 2:26 pm
by RSCS
Good morning,

That table is empty.

I rescanned including Azure (though the one client configured for this plugin does not use Azure AD), and the result provided this error.

Starting data collection from Office365
Checking MSOnline Modules are in the 64bit PoSh folder
2281 - 1.0.9031.1

Validating script folder is available

Test for MSOLUSERS functions on probe

Found current MSOLUSERS
Executing MSOL User Scans on [1] Clients

Processing [ClientName] -> Client Failed Update
2281 - bad data or errors returned - Processing -File '-Office365Username' failed because the file does not have a '.ps1' extension. Specify a valid Windows PowerShell script file name, and then try again

I found the folder that I think these scripts are run from in C:\Windows\Temp\Office365. The contents are shown in the screenshot attached. Is there something missing?

Thanks.

Re: No Mailboxes appear

Posted: Thu Apr 25, 2019 12:59 pm
by Cubert
Can you post a picture of the configs window?

Re: No Mailboxes appear

Posted: Thu Apr 25, 2019 3:43 pm
by RSCS
Aha! I think that the issue was that Azure needed to be selected even though we don't use Azure-AD for this client.
I now have a list of users!
Thanks so much.
Is there any chance that the Open Shell button can be limited by Automate user role? I'd really like to prevent our Level-1 techs from having access to this.

Thanks again.

Re: No Mailboxes appear

Posted: Fri Apr 26, 2019 12:35 pm
by Cubert
Awesome, glad to hear that. That is exactly where I was going with the request for config. AZUER is needed on all scans as it sets the company profile up and user lists.


As for added permissions there is no way currently to limit user access.