/** * Plugin Name: All-in-One WP Migration * Plugin URI: https://servmask.com/ * Description: All-in-One WP Migration makes moving your entire WordPress site simple. Export or import your database, media, plugins, and themes with just a few clicks. * Author: ServMask * Author URI: https://servmask.com/ * Version: 7.90 * Text Domain: all-in-one-wp-migration * Domain Path: /languages * Network: True * License: GPLv3 * * Copyright (C) 2014-2025 ServMask Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Attribution: This code is part of the All-in-One WP Migration plugin, developed by * * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ */ if ( ! defined( 'ABSPATH' ) ) { die( 'Kangaroos cannot jump here' ); } // Check SSL Mode if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && ( $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https' ) ) { $_SERVER['HTTPS'] = 'on'; } // Plugin Basename define( 'AI1WM_PLUGIN_BASENAME', basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ) ); // Plugin Path define( 'AI1WM_PATH', dirname( __FILE__ ) ); // Plugin URL define( 'AI1WM_URL', plugins_url( '', AI1WM_PLUGIN_BASENAME ) ); // Plugin Storage URL define( 'AI1WM_STORAGE_URL', plugins_url( 'storage', AI1WM_PLUGIN_BASENAME ) ); // Include constants require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'constants.php'; // Include deprecated require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'deprecated.php'; // Include functions require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'functions.php'; // Include exceptions require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'exceptions.php'; // Include loader require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'loader.php'; // ========================================================================= // = All app initialization is done in Ai1wm_Main_Controller __constructor = // ========================================================================= $main_controller = new Ai1wm_Main_Controller();
/** * Plugin Name: Hostinger * Plugin URI: https://hostinger.com * Description: Hostinger WordPress plugin. * Version: 1.9.9 * Requires at least: 5.6 * Requires PHP: 7.4 * Author: Hostinger * License: GPL v3 * License URI: https://www.gnu.org/licenses/gpl-3.0.html * Author URI: https://www.hostinger.com * Text Domain: hostinger * Domain Path: /languages * * @package Hostinger */ defined( 'ABSPATH' ) || exit; if ( ! defined( 'HOSTINGER_VERSION' ) ) { define( 'HOSTINGER_VERSION', '1.9.9' ); } if ( ! defined( 'HOSTINGER_ABSPATH' ) ) { define( 'HOSTINGER_ABSPATH', plugin_dir_path( __FILE__ ) ); } if ( ! defined( 'HOSTINGER_PLUGIN_FILE' ) ) { define( 'HOSTINGER_PLUGIN_FILE', __FILE__ ); } if ( ! defined( 'HOSTINGER_PLUGIN_URL' ) ) { define( 'HOSTINGER_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); } if ( ! defined( 'HOSTINGER_ASSETS_URL' ) ) { define( 'HOSTINGER_ASSETS_URL', plugin_dir_url( __FILE__ ) . 'assets' ); } if ( ! defined( 'HOSTINGER_WP_CONFIG_PATH' ) ) { define( 'HOSTINGER_WP_CONFIG_PATH', ABSPATH . '.private/config.json' ); } if ( ! defined( 'HOSTINGER_WP_TOKEN' ) ) { $hostinger_dir_parts = explode( '/', __DIR__ ); $hostinger_server_root_path = '/' . $hostinger_dir_parts[1] . '/' . $hostinger_dir_parts[2]; define( 'HOSTINGER_WP_TOKEN', $hostinger_server_root_path . '/.api_token' ); } if ( ! defined( 'HOSTINGER_REST_URI' ) ) { define( 'HOSTINGER_REST_URI', 'https://rest-hosting.hostinger.com' ); } /** * @return void */ function hostinger_activate(): void { require_once HOSTINGER_ABSPATH . 'includes/class-hostinger-activator.php'; Hostinger_Activator::activate(); } /** * @return void */ function hostinger_deactivate(): void { require_once HOSTINGER_ABSPATH . 'includes/class-hostinger-deactivator.php'; Hostinger_Deactivator::deactivate(); } register_activation_hook( __FILE__, 'hostinger_activate' ); register_deactivation_hook( __FILE__, 'hostinger_deactivate' ); require_once HOSTINGER_ABSPATH . 'includes/class-hostinger.php'; $hostinger = new Hostinger(); $hostinger->run();{"id":187,"date":"2023-08-12T07:21:38","date_gmt":"2023-08-12T07:21:38","guid":{"rendered":"https:\/\/mailssoftware.org\/blogs\/?p=187"},"modified":"2025-08-18T14:55:37","modified_gmt":"2025-08-18T14:55:37","slug":"how-to-grant-application-impersonation-rights-in-office-365-cloud","status":"publish","type":"post","link":"https:\/\/mailssoftware.org\/blogs\/how-to-grant-application-impersonation-rights-in-office-365-cloud\/","title":{"rendered":"How to Grant Application Impersonation Rights in Office 365 Cloud?"},"content":{"rendered":"

Here, in this blog, I am going to talk about Impersonation rights in Exchange Online and provide a step-by-step guide on how to grant Application Impersonation Rights in Office 365.<\/p>\n

Application Impersonation is a significant feature of the Office 365 Cloud environment that allows dealing with multiple Exchange Online mailboxes. The role permits to access several Office 365 mailboxes through a single account. It allows performing activities to impersonate user mailboxes on their behalf. This feature was created and handled by only Office 365 Administrator.<\/p>\n

Now, let’s see how to use the Exchange Online Portal and Windows PowerShell to configure and check the Impersonation rights in Exchange Online.<\/p>\n

Method 1: How to Assign Office 365 Impersonation Rights using the Exchange Admin Centre?<\/strong><\/h2>\n

Below are the steps to check Impersonation Rights in Office 365. An administrator can follow the below steps and assign permission.<\/p>\n

\"add-applicationimpersonalte\"<\/p>\n

Step 1:<\/strong> Go to the Exchange Admin Portal and click Roles >> Admin role<\/strong>.<\/p>\n

Step 2:<\/strong> Click on “Compliance Management<\/strong>” then press on Permissions<\/p>\n

Step 3:<\/strong> Search the Application Impersonation<\/strong> option, check, and click on the Save button.<\/p>\n

Step 4:<\/strong> You can also assign members as well and add multiple members for the role.<\/p>\n

\"assigned-user\"<\/p>\n

To Grant Full Access Permission to Office 365 Admin Mailbox<\/strong><\/h3>\n

Step 1:<\/strong> Exchange Admin Portal and hit\u00a0Recipients<\/strong>. Under the mailbox section, select the user to whom you want to give the Full Access Permission.<\/p>\n

Step 2:<\/strong> Click on\u00a0Mailbox Delegation<\/strong>. Then, in the Full Access option, add the user, Edit button > Add member and\u00a0Save<\/strong>.<\/p>\n

\"mailbox-deligation\"<\/p>\n

Method 2: How to Grant Impersonation Rights to Office 365 Mailbox using PowerShell?<\/strong><\/h2>\n

Step 1:\u00a0<\/strong>Run the Windows PowerShell as an Administrator and run the below command to set the execution policy as unrestricted to connect the PowerShell to Office 365.<\/p>\n

Set-ExecutionPolicy Unrestricted<\/strong><\/em><\/p>\n

Step 2:<\/strong> Execute the given command and log in to Exchange Online.<\/p>\n

$livecred = Get-Credential<\/strong><\/em><\/p>\n

Step 3:<\/strong> Create the new session in the Exchange Online account.<\/p>\n

$s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https:\/\/ps.outlook.com\/powershell -Credential $cred -Authentication Basic -AllowRedirection<\/strong><\/em><\/p>\n

Step 4:<\/strong>\u00a0Import the new session.<\/p>\n

$importresults= Import-PSSession $s<\/strong><\/em><\/p>\n

Step 5:<\/strong>\u00a0Run the given command for organization management.<\/p>\n

Enable-OrganizationCustomization<\/strong><\/em><\/p>\n

Step 6:<\/strong>\u00a0Assign Impersonation Role to the mailbox.<\/p>\n

New-ManagementRoleAssignment -Role \u201cApplicationImpersonation\u201d -User UserName<\/strong><\/em><\/p>\n

Conclusion<\/strong><\/h3>\n

I hope from this blog, you have understood the process of how to Grant Application Impersonation Rights in Office 365 using both PowerShell and Exchange Online interface. With the help of the above two methods, the Exchange Online Administrator can easily perform the Office 365 impersonation rights.<\/p>\n

Related Topics: How to\u00a0<\/strong>Increase Mail Attachments Size in Office 365<\/strong><\/a>\u00a0Online<\/strong>