@@ -132,18 +132,38 @@ const Offcanvas = (row, rowIndex, formatExtraData) => {
132
132
color : 'danger' ,
133
133
modal : true ,
134
134
modalType : 'POST' ,
135
- modalBody : { keepUserData : 'false' , keepEnrollmentData : 'true' } ,
135
+ modalBody : { keepUserData : false , keepEnrollmentData : true } ,
136
+ modalUrl : `/api/ExecDeviceAction?TenantFilter=${ tenant . defaultDomainName } &GUID=${ row . id } &Action=cleanWindowsDevice` ,
137
+ modalMessage : 'Are you sure you want to wipe this device, and retain enrollment data?' ,
138
+ } ,
139
+ {
140
+ label : 'Wipe Device, remove enrollment data' ,
141
+ color : 'danger' ,
142
+ modal : true ,
143
+ modalType : 'POST' ,
144
+ modalBody : { keepUserData : false , keepEnrollmentData : false } ,
136
145
modalUrl : `/api/ExecDeviceAction?TenantFilter=${ tenant . defaultDomainName } &GUID=${ row . id } &Action=cleanWindowsDevice` ,
137
- modalMessage : 'Are you sure you want to wipe this device' ,
146
+ modalMessage : 'Are you sure you want to wipe this device, and remove enrollment data? ' ,
138
147
} ,
139
148
{
140
- label : 'Wipe Device and continue at powerloss' ,
149
+ label : 'Wipe Device, keep enrollment data, and continue at powerloss' ,
150
+ color : 'danger' ,
151
+ modal : true ,
152
+ modalType : 'POST' ,
153
+ modalBody : { keepEnrollmentData : true , keepUserData : false , useProtectedWipe : true } ,
154
+ modalUrl : `/api/ExecDeviceAction?TenantFilter=${ tenant . defaultDomainName } &GUID=${ row . id } &Action=cleanWindowsDevice` ,
155
+ modalMessage :
156
+ 'Are you sure you want to wipe this device? This will retain enrollment data. Continuing at powerloss may cause boot issues if wipe is interrupted.' ,
157
+ } ,
158
+ {
159
+ label : 'Wipe Device, remove enrollment data, and continue at powerloss' ,
141
160
color : 'danger' ,
142
161
modal : true ,
143
162
modalType : 'POST' ,
144
163
modalBody : { keepEnrollmentData : false , keepUserData : false , useProtectedWipe : true } ,
145
164
modalUrl : `/api/ExecDeviceAction?TenantFilter=${ tenant . defaultDomainName } &GUID=${ row . id } &Action=cleanWindowsDevice` ,
146
- modalMessage : 'Are you sure you want to wipe this device' ,
165
+ modalMessage :
166
+ 'Are you sure you want to wipe this device? This will also remove enrollment data. Continuing at powerloss may cause boot issues if wipe is interrupted.' ,
147
167
} ,
148
168
{
149
169
label : 'Autopilot Reset' ,
@@ -152,7 +172,7 @@ const Offcanvas = (row, rowIndex, formatExtraData) => {
152
172
modalType : 'POST' ,
153
173
modalBody : { keepUserData : 'false' , keepEnrollmentData : 'true' } ,
154
174
modalUrl : `/api/ExecDeviceAction?TenantFilter=${ tenant . defaultDomainName } &GUID=${ row . id } &Action=wipe` ,
155
- modalMessage : 'Are you sure you want to wipe this device' ,
175
+ modalMessage : 'Are you sure you want to Autopilot Reset this device? ' ,
156
176
} ,
157
177
{
158
178
label : 'Retire device' ,
0 commit comments