diff --git a/src/layouts/config.js b/src/layouts/config.js
index e74843605127..3ba6ec3a98b1 100644
--- a/src/layouts/config.js
+++ b/src/layouts/config.js
@@ -251,6 +251,7 @@ export const nativeMenuItems = [
{ title: "Protection Policies", path: "/endpoint/MEM/list-appprotection-policies" },
{ title: "Apply Policy", path: "/endpoint/MEM/add-policy" },
{ title: "Policy Templates", path: "/endpoint/MEM/list-templates" },
+ { title: "Scripts", path: "/endpoint/MEM/list-scripts" },
],
},
{
diff --git a/src/pages/email/tools/mailbox-restores/index.js b/src/pages/email/tools/mailbox-restores/index.js
index ffa463800bd5..16ffea192996 100644
--- a/src/pages/email/tools/mailbox-restores/index.js
+++ b/src/pages/email/tools/mailbox-restores/index.js
@@ -15,7 +15,7 @@ const Page = () => {
data: {
TenantFilter: "Tenant",
Identity: "Identity",
- Action: "Resume",
+ Action: "!Resume",
},
confirmText: "Are you sure you want to resume this restore request?",
color: "info",
@@ -27,7 +27,7 @@ const Page = () => {
data: {
TenantFilter: "Tenant",
Identity: "Identity",
- Action: "Suspend",
+ Action: "!Suspend",
},
confirmText: "Are you sure you want to suspend this restore request?",
color: "warning",
@@ -39,7 +39,7 @@ const Page = () => {
data: {
TenantFilter: "Tenant",
Identity: "Identity",
- Action: "Remove",
+ Action: "!Remove",
},
confirmText: "Are you sure you want to remove this restore request?",
color: "danger",
diff --git a/src/pages/endpoint/MEM/list-policies/index.js b/src/pages/endpoint/MEM/list-policies/index.js
index 299881df53fe..21c2f1962a24 100644
--- a/src/pages/endpoint/MEM/list-policies/index.js
+++ b/src/pages/endpoint/MEM/list-policies/index.js
@@ -60,7 +60,7 @@ const Page = () => {
},
{
label: "Delete Policy",
- type: "GET",
+ type: "POST",
url: "/api/RemovePolicy",
data: {
ID: "id",
diff --git a/src/pages/endpoint/MEM/list-scripts/index.js b/src/pages/endpoint/MEM/list-scripts/index.js
new file mode 100644
index 000000000000..db6dd7a1d1eb
--- /dev/null
+++ b/src/pages/endpoint/MEM/list-scripts/index.js
@@ -0,0 +1,61 @@
+import { Layout as DashboardLayout } from "/src/layouts/index.js";
+import { CippTablePage } from "/src/components/CippComponents/CippTablePage.jsx";
+import { Code, TrashIcon } from "@heroicons/react/24/outline";
+
+const Page = () => {
+ const pageTitle = "Scripts";
+
+ const actions = [
+ {
+ label: "Delete Script",
+ type: "POST",
+ url: "/api/RemoveIntuneScript",
+ data: {
+ ID: "id",
+ displayName: "displayName",
+ ScriptType: "scriptType",
+ },
+ confirmText: "Are you sure you want to delete this script?",
+ icon: ,
+ color: "danger",
+ },
+ ];
+
+ const offCanvas = {
+ extendedInfoFields: [
+ "scriptType",
+ "id",
+ "fileName",
+ "displayName",
+ "description",
+ "lastModifiedDateTime",
+ "runAsAccount",
+ "createdDateTime",
+ "runAs32Bit",
+ "executionFrequency",
+ "enforceSignatureCheck",
+ ],
+ actions: actions,
+ };
+
+ const simpleColumns = [
+ "scriptType",
+ "displayName",
+ "description",
+ "runAsAccount",
+ "lastModifiedDateTime",
+ ];
+
+ return (
+
+ );
+};
+
+Page.getLayout = (page) => {page};
+export default Page;