Skip to content

Commit

Permalink
Merge pull request #5509 from dannyKBjj/MSFT_IntuneVPNConfigurationPo…
Browse files Browse the repository at this point in the history
…licyIOS

fix for targetedMobileApps
  • Loading branch information
ykuijs authored Dec 4, 2024
2 parents c3ae097 + 58f350f commit 8a79f80
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ function Get-TargetResource
foreach ($value in $getValue.AdditionalProperties.targetedMobileApps)
{
$myTMAdata = @{}
$myTMAdata.Add('address', $value.address)
$myTMAdata.Add('name', $value.name)
$myTMAdata.Add('publisher', $value.publisher)
$myTMAdata.Add('appStoreUrl', $value.appStoreUrl)
$myTMAdata.Add('appId', $value.appId)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class MSFT_MicrosoftvpnProxyServer
[ClassVersion("1.0.0")]
class MSFT_targetedMobileApps
{
[Write, Description("The application name.")] String address;
[Write, Description("The application name.")] String name;
[Write, Description("The publisher of the application.")] String publisher;
[Write, Description("The Store URL of the application.")] String appStoreUrl;
[Write, Description("The application or bundle identifier of the application.")] String appId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture {
(New-CimInstance `
-ClassName MSFT_targetedMobileApps `
-Property @{
address = 'FakeStringValue'
name = 'FakeStringValue'
publisher = 'FakeStringValue'
appStoreUrl = 'FakeStringValue'
appId = 'FakeStringValue'
Expand Down Expand Up @@ -219,7 +219,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture {
(New-CimInstance `
-ClassName MSFT_targetedMobileApps `
-Property @{
address = 'FakeStringValue'
name = 'FakeStringValue'
publisher = 'FakeStringValue'
appStoreUrl = 'FakeStringValue'
appId = 'FakeStringValue'
Expand Down Expand Up @@ -285,7 +285,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture {
)
targetedMobileApps = @(
@{
address = 'FakeStringValue'
name = 'FakeStringValue'
publisher = 'FakeStringValue'
appStoreUrl = 'FakeStringValue'
appId = 'FakeStringValue'
Expand Down Expand Up @@ -375,7 +375,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture {
(New-CimInstance `
-ClassName MSFT_targetedMobileApps `
-Property @{
address = 'FakeStringValue'
name = 'FakeStringValue'
publisher = 'FakeStringValue'
appStoreUrl = 'FakeStringValue'
appId = 'FakeStringValue'
Expand Down Expand Up @@ -442,7 +442,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture {
)
targetedMobileApps = @(
@{
address = 'FakeStringValue'
name = 'FakeStringValue'
publisher = 'FakeStringValue'
appStoreUrl = 'FakeStringValue'
appId = 'FakeStringValue'
Expand Down

0 comments on commit 8a79f80

Please sign in to comment.