Hello,
I am working on a Script where I have to change licenses for hundreds of peoples on our AzureAD.
I am running the following Setup:
Windows 10 1909 Build 18363.959
PowerShell Studio 2020 5.7.179
PowerShell Version 5.1.18362.752
I have installed the AzureAD + MSOnline Module from Powershell Packages:
*powershellgallery*com/packages/MSOnline/1.1.183.57
*powershellgallery*com/packages/AzureAD/2.0.2.106
After Installation I checked both modules in my Cache Editor and rebuild the cache. Then I can see both Modules in the Object Browser, but I cannot expand them nor is the code editor aware of the include cmdlets from these modules.
Have anybody an idea, whats the reason for this?
When I want to use the same Cmdlet's in Powershell ISE, then I have no problems at all:
Help would be really nice for nicer coding workflow.
Powershell Studio 2020 did not Expand the AzureAD + MSOnline Modules
Forum rules
Do not post any licensing information in this forum.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Do not post any licensing information in this forum.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
- christian.pauli@pari.com
- Posts: 5
- Last visit: Mon Nov 08, 2021 3:17 am
Re: Powershell Studio 2020 did not Expand the AzureAD + MSOnline Modules
Please open the cache editor and verify that you see the modules that you are having issues with are checked. Then 'Build cache':
Close the cache editor. Then reload the cache into PowerShell Studio:
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- christian.pauli@pari.com
- Posts: 5
- Last visit: Mon Nov 08, 2021 3:17 am
Re: Powershell Studio 2020 did not Expand the AzureAD + MSOnline Modules
Hello Brittney,
thank you for your fast answer. I did this step's serveral times before without any luck. Did you have another idea what could be the cause?
Best regards
Chrisitan
thank you for your fast answer. I did this step's serveral times before without any luck. Did you have another idea what could be the cause?
Best regards
Chrisitan
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: Powershell Studio 2020 did not Expand the AzureAD + MSOnline Modules
Please navigate to this folder on your computer: C:\ProgramData\SAPIEN\PresetCache 2.1\ModuleCacheV5
Locate the files for AzureAD and MSOnline. There should be three for each with the extensions .syntax, .alias, .cmdlets.
See if they are of zero (0) size, if so, please let us know.
If not, please zip these 6 files and attach the zip here or upload it here: https://www.sapien.com/support/upload
Locate the files for AzureAD and MSOnline. There should be three for each with the extensions .syntax, .alias, .cmdlets.
See if they are of zero (0) size, if so, please let us know.
If not, please zip these 6 files and attach the zip here or upload it here: https://www.sapien.com/support/upload
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- christian.pauli@pari.com
- Posts: 5
- Last visit: Mon Nov 08, 2021 3:17 am
Re: Powershell Studio 2020 did not Expand the AzureAD + MSOnline Modules
Hello Alexander,
this is right, I have only 0kb Files in the mentioned folder for the modules which aren't show any information in PS Studio. What can I do to fix this?
this is right, I have only 0kb Files in the mentioned folder for the modules which aren't show any information in PS Studio. What can I do to fix this?
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: Powershell Studio 2020 did not Expand the AzureAD + MSOnline Modules
You can delete the zero KB file and try to import the modules again.
If it produces empty files again, please let us know. I have someone here try on our side to see what might have happened.
If it produces empty files again, please let us know. I have someone here try on our side to see what might have happened.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- christian.pauli@pari.com
- Posts: 5
- Last visit: Mon Nov 08, 2021 3:17 am
Re: Powershell Studio 2020 did not Expand the AzureAD + MSOnline Modules
Sorry for my late response. After deleting the 0 kb files and rebuild t he cache/restart the application, I will run in the exact same issue agian
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: Powershell Studio 2020 did not Expand the AzureAD + MSOnline Modules
That means Powershell cannot load the modules when the cache builder tries to load them.
It can be that they are blocked, in a non-standard location, in a location where the process has no access or assorted other issues.
Unfortunately we cannot really determine that from here.
I am attaching the file here from my machine. Copy them in place, open the Cache Editor, make sure the modules in question are still checked and push "Build Cache"
Please let us know if that helps.
It can be that they are blocked, in a non-standard location, in a location where the process has no access or assorted other issues.
Unfortunately we cannot really determine that from here.
I am attaching the file here from my machine. Copy them in place, open the Cache Editor, make sure the modules in question are still checked and push "Build Cache"
Please let us know if that helps.
- Attachments
-
- cache files.zip
- (27.07 KiB) Downloaded 242 times
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- christian.pauli@pari.com
- Posts: 5
- Last visit: Mon Nov 08, 2021 3:17 am
Re: Powershell Studio 2020 did not Expand the AzureAD + MSOnline Modules
Hello Alex,
this did the trick for me. Thank you so much for your help.
Best regards
Christian
this did the trick for me. Thank you so much for your help.
Best regards
Christian