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
Import does not run properly. Used it several time in the past and the json file get loaded fine. Here verbose output
Import-DCConditionalAccessPolicyDesign @parameters -verbose
VERBOSE: Connecting to Microsoft Graph...
VERBOSE: POST with 1211-byte payload
VERBOSE: received 4518-byte response of content type application/json
VERBOSE: Content encoding: utf-8
VERBOSE: Importing JSON from 'C:\repo\personalStuff\scripts\security\conditional-access_mfa\vista\vista_ca_policy_basic.json'...
VERBOSE: Setting all new policys to report-only mode...
VERBOSE: Deleting all existing Conditional Access policies...
VERBOSE: GET with 0-byte payload
VERBOSE: received -byte response of content type application/json
VERBOSE: Content encoding: utf-8
Import-DCConditionalAccessPolicyDesign: You cannot call a method on a null-valued expression.
The text was updated successfully, but these errors were encountered:
Hi, I am facing issues with the Import-DCConditionalAccessPolicyDesign @parameters function and receive the following error
VERBOSE: Checking PowerShell version...
VERBOSE: PowerShell 7.4 found!
VERBOSE: Looking for the Graph PowerShell module...
VERBOSE: Graph PowerShell module 2.19.0 found!
Import-DCConditionalAccessPolicyDesign: You cannot call a method on a null-valued expression.
Import does not run properly. Used it several time in the past and the json file get loaded fine. Here verbose output
Import-DCConditionalAccessPolicyDesign @parameters -verbose
VERBOSE: Connecting to Microsoft Graph...
VERBOSE: POST with 1211-byte payload
VERBOSE: received 4518-byte response of content type application/json
VERBOSE: Content encoding: utf-8
VERBOSE: Importing JSON from 'C:\repo\personalStuff\scripts\security\conditional-access_mfa\vista\vista_ca_policy_basic.json'...
VERBOSE: Setting all new policys to report-only mode...
VERBOSE: Deleting all existing Conditional Access policies...
VERBOSE: GET with 0-byte payload
VERBOSE: received -byte response of content type application/json
VERBOSE: Content encoding: utf-8
Import-DCConditionalAccessPolicyDesign: You cannot call a method on a null-valued expression.
The text was updated successfully, but these errors were encountered: