Error: The terraform-provider-azuread_v3.0.0_x5.exe plugin crashed!

Had the following error when running the apply stage of an azuread resource:

`Error: Plugin did not respond

│ with module.Conditional_Access_Policies[“CA04 - All External Intranet apps”].azuread_conditional_access_policy.cap-entraid,
│ on modules\conditional_access_policy\main.tf line 7, in resource “azuread_conditional_access_policy” “cap-entraid”:
│ 7: resource “azuread_conditional_access_policy” “cap-entraid” {

│ The plugin encountered an error, and failed to respond to the
│ plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may
│ contain more details.

Stack trace from the terraform-provider-azuread_v3.0.0_x5.exe plugin:

panic: interface conversion: interface {} is nil, not map[string]interface {}

goroutine 39 [running]:

github.com/hashicorp/terraform-provider-azuread/internal/services/conditionalaccess.expandConditionalAccessApplications({0xc0005d5210?, 0xc00059e450?, 0x26151c3?})

github.com/hashicorp/terraform-provider-azuread/internal/services/conditionalaccess/conditionalaccess.go:397 +0x5f4

github.com/hashicorp/terraform-provider-azuread/internal/services/conditionalaccess.expandConditionalAccessConditionSet({0xc0005d51e0, 0x2605742?, 0x732185?})

github.com/hashicorp/terraform-provider-azuread/internal/services/conditionalaccess/conditionalaccess.go:364 +0x81d

github.com/hashicorp/terraform-provider-azuread/internal/services/conditionalaccess.conditionalAccessPolicyResourceCreate({0x2922218, 0xc000554690}, 0xc0000c5e80, {0x1e36980, 0xc00000f208})

github.com/hashicorp/terraform-provider-azuread/internal/services/conditionalaccess/conditional_access_policy_resource.go:598 +0x1a5

github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0xc0003e49a0, {0x2922170, 0xc00037db00}, 0xc0000c5e80, {0x1e36980, 0xc00000f208})

github.com/hashicorp/terraform-plugin-sdk/v2@v2.34.0/helper/schema/resource.go:806 +0x119

github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc0003e49a0, {0x2922170, 0xc00037db00}, 0xc0002504e0, 0xc0000c5c00, {0x1e36980, 0xc00000f208})

github.com/hashicorp/terraform-plugin-sdk/v2@v2.34.0/helper/schema/resource.go:937 +0xa89

github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc00034b7b8, {0x2922170?, 0xc00037da40?}, 0xc00013c5f0)

github.com/hashicorp/terraform-plugin-sdk/v2@v2.34.0/helper/schema/grpc_provider.go:1153 +0xd5c

github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0xc000350820, {0x2922170?, 0xc00037c180?}, 0xc000554000)

github.com/hashicorp/terraform-plugin-go@v0.24.0/tfprotov5/tf5server/server.go:865 +0x3d0

github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0x233bea0, 0xc000350820}, {0x2922170, 0xc00037c180}, 0xc0000c4700, 0x0)

github.com/hashicorp/terraform-plugin-go@v0.24.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:545 +0x1a6

google.golang.org/grpc.(*Server).processUnaryRPC(0xc000116200, {0x2922170, 0xc00037c090}, {0x2928620, 0xc0000e61a0}, 0xc0003aefc0, 0xc0004379e0, 0x37f4db8, 0x0)

google.golang.org/grpc@v1.67.0/server.go:1394 +0xe49

google.golang.org/grpc.(*Server).handleStream(0xc000116200, {0x2928620, 0xc0000e61a0}, 0xc0003aefc0)

google.golang.org/grpc@v1.67.0/server.go:1805 +0xe8b

google.golang.org/grpc.(*Server).serveStreams.func2.1()

google.golang.org/grpc@v1.67.0/server.go:1029 +0x8b

created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 27

google.golang.org/grpc@v1.67.0/server.go:1040 +0x125

Error: The terraform-provider-azuread_v3.0.0_x5.exe plugin crashed!

This is always indicative of a bug within the plugin. It would be immensely helpful if you could report the crash with the plugin’s maintainers so that it can be fixed. The output above should help diagnose the issue.

##[error]Error: The process ‘C:\hostedtoolcache\windows\terraform\1.10.4\x64\terraform.exe’ failed with exit code 1`

I have tried various versions of the azuread provider, but all come up with the same error