My system-tests that validate some basis group setup fail when I invoke all tests (*.tests.ps1) via Invoke-Pester.
The error is The term 'Get-AzureADObjectSetting' is not recognized as the name of a cmdlet, function, script file. This cmdlet is provided via module AzureAdPreview.
When I run the same test-file with Invoke-Pester -Script ./GroupFoobar.tests.ps1 is this error not raised.
Loads Pester modules different in some situations - I am using Pester version 4.0.4?