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
The response includes durationInHours property or similar.
Module Version
ModuleType Version PreRelease Name
---------- ------- ---------- ----
Script 2.0.0 Microsoft.Graph.Authentication
Script 2.0.0 Microsoft.Graph.Beta.Identity.Governance
Environment Data
$PSVersionTable
Name Value
---------
PSVersion 7.3.4
PSEdition Core
GitCommitId 7.3.4
OS Microsoft Windows 10.0.22621
Platform Win32NT
PSCompatibleVersions {1.0,2.0,3.0,4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Additional context
I believe this problem originates in the underlying Graph API, and is not specific to the PowerShell modules but I wasn't sure where else to raise it. I would imagine this also means that it can't be created/modified via the Graph API either.
The documentation also makes no mention of this property:
tjrobinson
changed the title
Get-MgBetaEntitlementManagementAccessPackageAssignmentPolicy does not return policy lifecycledurationInHours
Get-MgBetaEntitlementManagementAccessPackageAssignmentPolicy does not return policy lifecycle durationInHoursJul 7, 2023
This repository is intended for issues related to the functionality of the module. We may not be the best place to answer some queries that are tied to the functionality of the API.
Background
Via the Azure Portal it's possible to configure a policy assignment to expire after a number of hours, not just a number of days:
Describe the bug
Get-MgBetaEntitlementManagementAccessPackageAssignmentPolicy
doesn't return adurationInHours
property, onlydurationInDays
set to0
.To Reproduce
Steps to reproduce the behavior:
Response:
Expected behavior
The response includes
durationInHours
property or similar.Module Version
Environment Data
Additional context
I believe this problem originates in the underlying Graph API, and is not specific to the PowerShell modules but I wasn't sure where else to raise it. I would imagine this also means that it can't be created/modified via the Graph API either.
The documentation also makes no mention of this property:
https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.beta.identity.governance/get-mgbetaentitlementmanagementaccesspackageassignmentpolicy?view=graph-powershell-beta
The text was updated successfully, but these errors were encountered: