Skip to content

Commit c27234a

Browse files
authored
Merge branch 'dev' into WeeklyExamplesUpdate/202307170635
2 parents 1469a62 + 59c34ca commit c27234a

File tree

4 files changed

+16
-7
lines changed

4 files changed

+16
-7
lines changed

docs/upgrade-to-v2.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ We've dropped support for `-ForceRefresh` on `Connect-MgGraph` command. `-ForceR
7272

7373
Directory role and entitlement management commands that were in `DeviceManagement.Enrollment` module have been moved to `Identity.Governance` to align with the [API reference](https://learn.microsoft.com/graph/api/resources/directoryrole?view=graph-rest-1.0).
7474

75+
### Product Name Change in Certain Command
76+
77+
Pluralized product names, such as Windows, were wrongly named to their singular forms (e.g., Window) in the v1 SDK. In the v2 SDK, these names have been restored to their original plural forms. Therefore, commands that used to have `Window` in their name now have `Windows` instead. For example:
78+
| v1 SDK | v2 SDK |
79+
| - | - |
80+
| Get-MgDeviceManagement**Window**AutopilotDeviceIdentity | Get-MgDeviceManagement**Windows**AutopilotDeviceIdentity |
81+
| Get-MgDeviceManagement**Window**InformationProtectionAppLearningSummary | Get-MgDeviceManagement**Windows**InformationProtectionAppLearningSummary |
82+
7583
## New Features and Improvements
7684

7785
The following new features and improvements have been added to the module in v2.

src/Authentication/Authentication.Core/Microsoft.Graph.Authentication.Core.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<LangVersion>9.0</LangVersion>
55
<TargetFrameworks>netstandard2.0;net6.0;net472</TargetFrameworks>
66
<RootNamespace>Microsoft.Graph.PowerShell.Authentication.Core</RootNamespace>
7-
<Version>2.0.0</Version>
7+
<Version>2.1.0</Version>
88
</PropertyGroup>
99
<PropertyGroup>
1010
<EnableNETAnalyzers>true</EnableNETAnalyzers>
@@ -13,7 +13,7 @@
1313
<ItemGroup>
1414
<PackageReference Include="Azure.Identity" Version="1.9.0" />
1515
<PackageReference Include="Azure.Identity.BrokeredAuthentication" Version="1.0.0-beta.3" />
16-
<PackageReference Include="Microsoft.Graph.Core" Version="3.0.7" />
16+
<PackageReference Include="Microsoft.Graph.Core" Version="3.0.9" />
1717
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
1818
</ItemGroup>
1919
<Target Name="CopyFiles" AfterTargets="Build">

src/Devices.CorporateManagement/Devices.CorporateManagement.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ directive:
5656
parameter-name: Count1
5757
set:
5858
parameter-name: ItemCount
59+
- where:
60+
subject: Io(Lob|Managed)
61+
set:
62+
subject: iOS$1
5963
# Alias DeviceAppManagement* cmdlets to DeviceAppMgt*.
6064
- where:
6165
subject: ^(DeviceAppManagement)(.*)
@@ -64,9 +68,10 @@ directive:
6468
- where:
6569
subject: ^DeviceAppMgt.*
6670
set:
67-
alias: ${verb}-${subject-prefix}${subject}
71+
alias: ${verb}-Mg${subject-prefix}${subject}
6872
- where:
6973
subject: ^(DeviceAppMgt)(.*)
7074
set:
7175
subject: DeviceAppManagement$2
76+
# End alias
7277
```

src/readme.graph.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,6 @@ directive:
151151
variant: ^(Check|Verify)(.*)
152152
set:
153153
verb: Confirm
154-
- where:
155-
subject: Io(Lob|Managed)
156-
set:
157-
subject: iOS$1
158154
- where:
159155
subject: ^(Office)(Configuration)(ClientConfiguration.*)
160156
set:

0 commit comments

Comments
 (0)