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
Error Message when using -UseMaximumTimeAllowed. Correct formatting broken error.
New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest_Create: The Active duration is too short. Miniumum Required is 5 minutes. Status: 400 (BadRequest) ErrorCode:
ActiveDurationTooShort Date: 2024-09-21T22:53:02 Headers: Vary : Accept-Encoding
Strict-Transport-Security : max-age=31536000 request-id :
client-request-id : :
{"ServerInfo":{}} Date : Sat, 21
Sep 2024 22:53:01 GMT
Enable-DCEntraIDPIMRole: C:\Users<string>\Downloads\enable-PIM-roles-Graph 3.ps1:45
Line |
45 | Enable-DCEntraIDPIMRole -RolesToActivate $Roles -Reason $Reason -UseM …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot convert argument "value", with value: "1230M", for "AddHours" to type "System.Double": "Cannot convert
| value "1230M" to type "System.Double". Error: "The input string '1230M' was not in a correct format.""
The text was updated successfully, but these errors were encountered:
Error Message when using -UseMaximumTimeAllowed. Correct formatting broken error.
New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest_Create: The Active duration is too short. Miniumum Required is 5 minutes. Status: 400 (BadRequest) ErrorCode:
ActiveDurationTooShort Date: 2024-09-21T22:53:02 Headers: Vary : Accept-Encoding
Strict-Transport-Security : max-age=31536000 request-id :
client-request-id : :
{"ServerInfo":{}} Date : Sat, 21
Sep 2024 22:53:01 GMT
Enable-DCEntraIDPIMRole: C:\Users<string>\Downloads\enable-PIM-roles-Graph 3.ps1:45
Line |
45 | Enable-DCEntraIDPIMRole -RolesToActivate $Roles -Reason $Reason -UseM …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot convert argument "value", with value: "1230M", for "AddHours" to type "System.Double": "Cannot convert
| value "1230M" to type "System.Double". Error: "The input string '1230M' was not in a correct format.""
The text was updated successfully, but these errors were encountered: