diff --git a/src/layouts/config.js b/src/layouts/config.js
index e8c6d541c9be..b31f11be6088 100644
--- a/src/layouts/config.js
+++ b/src/layouts/config.js
@@ -250,6 +250,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 1871eb7e130a..b63d572a32f3 100644
--- a/src/pages/email/tools/mailbox-restores/index.js
+++ b/src/pages/email/tools/mailbox-restores/index.js
@@ -16,7 +16,7 @@ const Page = () => {
icon: ,
data: {
Identity: "Identity",
- Action: "Resume",
+ Action: "!Resume",
},
confirmText: "Are you sure you want to resume this restore request?",
color: "info",
@@ -28,7 +28,7 @@ const Page = () => {
icon: ,
data: {
Identity: "Identity",
- Action: "Suspend",
+ Action: "!Suspend",
},
confirmText: "Are you sure you want to suspend this restore request?",
color: "warning",
@@ -40,7 +40,7 @@ const Page = () => {
icon: ,
data: {
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;