Page 1 of 1

Exchange Online Module not in cache

Posted: Thu Dec 06, 2018 7:12 am
by PsCustomObject
To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: PowerShell Studio 2019 5.6.156
32 or 64 bit version of product: 64bit
Operating system: Windows 10
32 or 64 bit OS: 64bit

Hello (again :)) Support,

as per subject I'm having some difficulties having PowerShell Studio caching cmdlets for Exchange Online module, we're running an Hybrid environment and I do some heavy lift in terms of automation so having cmdlets cache in PowerShell studio would be handy for me.

I have installed required module, which is in DLL format, and that is working as intended for example as described here https://blogs.technet.microsoft.com/canitpro/2017/08/23/powershell-basics-connecting-to-exchange-online-using-multi-factor-authentication/

I've now imported the DLL in POwerShell Studio Cache builder but yet intellisense is not picking it up, I'm wondering is this support? Do you have any experience with other users facing the same issue?

I can see the module in Cache Editor[1] but when I try to use one of the cmdlets I'm getting no results [2]
Cache Editir.png
Cache Editir.png (17.59 KiB) Viewed 2775 times
Cache Editir.png
Cache Editir.png (17.59 KiB) Viewed 2775 times

Re: Exchange Online Module not in cache

Posted: Thu Dec 06, 2018 8:16 am
by davidc
Please try the following:

1. Restart the application. Sometimes the changes are not seen until you restart PowerShell Studio.
2. Make sure you have "V5 - 64 Bit" selected in the ribbon (Home->Platform).
3. Once the platform is selected, look in the Object Browser panel and check if the module is listed. If so, expand the module and see if contains any cmdlets.

If the module is not listed or has no cmdlets then we will need to investigate why it is failing.

Re: Exchange Online Module not in cache

Posted: Thu Dec 06, 2018 1:12 pm
by PsCustomObject
Thanks David,

my bad as I should have mentioned I already tried closing/opening app couple of time same as rebuilding cache to no avail same goes for checking if module was in object browser but again to no avail.

I remember in the past I already had issue with Exchange cache not being built, but as Online version is just a DLL not sure how to proceed with this, I can send across the folder containing the DLL if that is of any help identifying the issue
PSS.png
PSS.png (55.94 KiB) Viewed 2733 times

Re: Exchange Online Module not in cache

Posted: Fri Dec 07, 2018 3:04 am
by PsCustomObject
Ok apparently a night sleep and couple more restarts was all that was required, I've just checked and the module is finally showing up object browser and I am able to have it in intellisense.

Case closed :)

Thanks!

Re: Exchange Online Module not in cache

Posted: Fri Dec 07, 2018 7:17 am
by davidc
Who says a good night's rest doesn't do you good? Thank you for the update!