rchaganti / DSCResources

Custom DSC resource modules by PowerShell Magazine
http://www.powershellmagazine.com
61 stars 26 forks source link

cMMAgentOpsInsights not changing workspace ID and KEY #16

Closed Andrpr closed 7 years ago

Andrpr commented 7 years ago

I'm looking at your DSC resource to use it within Azure DSC, but your custom DSC resource doesn't seem to change the workspace ID and Key.

Configuration MMAgentConfiguration { $OPSINSIGHTS_WS_ID = Get-AutomationVariable -Name "LA_WA_ID_02" $OPSINSIGHTS_WS_KEY = Get-AutomationVariable -Name "LA_WA_KEY_02"

Import-DscResource -ModuleName cMMAgent

Node OMSnode { cMMAgentOpInsights MMAgentOpInsights { WorkspaceID = $OPSINSIGHTS_WS_ID WorkspaceKey = $OPSINSIGHTS_WS_KEY Ensure = 'Present' } } }

rchaganti commented 7 years ago

Thank you for reporting this issue. This module is moving to OMSDsc. I will push the Log Analytics resources end of next week. Please use them.

rchaganti commented 7 years ago

I released an preview version of the OMSDsc module. It is not on gallery yet but resolves this issue. https://github.com/rchaganti/OMSDsc/tree/dev/DSCResources

Please feel free to test this. I ma closing this issue.

Andrpr commented 7 years ago

Thank you, perfect…

From: Ravikanth C [mailto:notifications@github.com] Sent: woensdag 5 juli 2017 07:18 To: rchaganti/DSCResources DSCResources@noreply.github.com Cc: Andre Pronk Andre.Pronk@microsoft.com; Author author@noreply.github.com Subject: Re: [rchaganti/DSCResources] cMMAgentOpsInsights not changing workspace ID and KEY (#16)

I released an preview version of the OMSDsc module. It is not on gallery yet but resolves this issue. https://github.com/rchaganti/OMSDsc/tree/dev/DSCResourceshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frchaganti%2FOMSDsc%2Ftree%2Fdev%2FDSCResources&data=02%7C01%7Candre.pronk%40microsoft.com%7Cf6396eb1eb124e41dcb108d4c365467f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636348287122940518&sdata=uKOJkdJ%2BdQxF54%2FhbzXVXjzK97CpGeQf7aYKJesPBj0%3D&reserved=0

Please feel free to test this. I ma closing this issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frchaganti%2FDSCResources%2Fissues%2F16%23issuecomment-312998600&data=02%7C01%7Candre.pronk%40microsoft.com%7Cf6396eb1eb124e41dcb108d4c365467f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636348287122940518&sdata=WkooZ0XjEgehZ%2FttQEmZ9pfnJGG3xrzNDvhSb19PrKM%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAcZg9R-qWER2DB3oZ7jt9KW2AibFp97Hks5sKxylgaJpZM4OJVyk&data=02%7C01%7Candre.pronk%40microsoft.com%7Cf6396eb1eb124e41dcb108d4c365467f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636348287122940518&sdata=F8E7%2BzOE3q2G%2BIvIk%2FDrS5oR2o6ueeVBG5ucspg%2Fbds%3D&reserved=0.