You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Passed weeks I've been busy writing some custom tests for a customer regarding Exchange Online. I've got approx. 14 customized tests. However after shifting my workload from my local desktop to Azure Pipelines. All my tests currently fail, most of these errors regarding:
CommandNotFoundException: The term 'Get-AdminAuditLogConfig' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
CommandNotFoundException: The term 'get-sharingpolicy' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
And a few more of these, I've got a scriptblock that forces a import of the required module:
That does fix is locally, but after moving it to Azure Pipelines / DevOps, all thoses tests just fail. I've tried adding the import stages to the YAML file but that produces the same result.
Good evening everyone,
Passed weeks I've been busy writing some custom tests for a customer regarding Exchange Online. I've got approx. 14 customized tests. However after shifting my workload from my local desktop to Azure Pipelines. All my tests currently fail, most of these errors regarding:
And a few more of these, I've got a scriptblock that forces a import of the required module:
That does fix is locally, but after moving it to Azure Pipelines / DevOps, all thoses tests just fail. I've tried adding the import stages to the YAML file but that produces the same result.
Followed this guide: https://maester.dev/docs/monitoring/azure-devops#optional-grant-permissions-to-exchange-online
And gave the Workload Identity the following permissions:
Are there any ideas of suggestions?
The text was updated successfully, but these errors were encountered: