How to fix “This message could not be sent. You do not have the permission to send the message on behalf of the specified user.”

This message could not be sent. You do not have the permission to send the message on behalf of the specified user.
(Microsoft Outlook - Send As)
This message could not be sent. You do not have the permission to send the message on behalf of the specified user.
(Microsoft Outlook – Send As)

1 Make sure the Desktop Outlook is closed

2 Open following path from Windows File Explorer

%userprofile%\AppData\Local\Microsoft\Outlook\Offline Address Books\

3 Cut everything within this folder

4 Create a new folder name it backup and open it

5 Paste to the backup folder

6 Try to launch Desktop Outlook and Send As again.


How to configure and use Send As in Exchange and Outlook

How to configure Office 365, Microsoft Outlook Send As & Force Oultook update Global Address List (GAL)

Keywords: Office 365, Oultook Send As, Force Global Address List (GAL) update, This message could not be sent

1 Configure Send As permission in Microsoft Exchange

1.1 Login to Office 365 Exchange: https://outlook.office365.com/ecp

1.2 Click on “recipients” -> “mailboxes” or “shared”

1.3 Double click on one of the mailbox from the results list

1.4 Click on “mailbox delegation”

1.5 Scroll to “Send As” section

1.6 Click on “+” button, add user who should have Send As permission for the mailbox.

1.7 Click on “Save” button.

2 Send As from Outlook Online

2.1 Login to https://outlook.office365.com as the user we have specified in step 1.6

2.2 Click on your profile image at top right corner

2.3 Click on “Open another mailbox”

2.4 Enter the mailbox we give permission to from step 1.3 and click on “Open”

2.5 Now you can send email from this email address.

3 Send As from Microsoft Outlook Desktop Application

3.1 Launch Desktop Outlook

3.2 Click on “New Email” button

3.3 Click on “Options” from Menu then click on “From”

3.4 Click on From, if the address you want to send as appear underneath the “From” button, select it, if not, Click on “Other Email Address…”

3.5 Type the email address you have configured from step 1.3

3.6 Now you can send email from this email address.

4 How to resolve following Error

Note: You may encounter following error after step 3.6

This message could not be sent. You do not have the permission to send the message on behalf of the specified user.

This message could not be sent. You do not have the permission to send the message on behalf of the specified user.
(Microsoft Outlook - Send As)
This message could not be sent. You do not have the permission to send the message on behalf of the specified user.
(Microsoft Outlook – Send As)

To resolve this issue, try following method to Force Oultook update Global Address List (GAL) to resolved the issue.

4.1 Make sure the Desktop Outlook is closed

4.2 Open following path from Windows File Explorer

%userprofile%\AppData\Local\Microsoft\Outlook\Offline Address Books\

4.3 Cut everything within this folder

4.4 Create a new folder name it backup and open it

4.5 Paste to the backup folder

4.6 Try to launch Desktop Outlook and follow Section 3 again to Send As, this time there should be no error.

Change SharePoint Library permission settings

Keywords: Microsoft SharePoint, Office 365, Library permission

1 Open one of your own SharePoint site

Microsoft SharePoint - Site
Microsoft SharePoint – Site

2 Click on “Site contents”

Microsoft SharePoint - Site
Microsoft SharePoint – Site

3 Click on “Site settings”

Microsoft SharePoint - Site - Site settings
Microsoft SharePoint – Site – Site settings

4 Click on “Site libraries and lists”

Microsoft SharePoint - Site - Site settings
Microsoft SharePoint – Site – Site settings

5 Click on the Library you want to change permission

Microsoft SharePoint - Site - Site settings - Customize "name of Library"
Microsoft SharePoint – Site – Site settings – Customize “name of Library”

6 Click on “Permissions for this document library”

Microsoft SharePoint - Site - Site settings - Customize "name of Library" - Settings - Permissions for this document library
Microsoft SharePoint – Site – Site settings – Customize “name of Library” – Settings – Permissions for this document library

7 Click on “Stop Inheriting Permissions” button at top left corner

Microsoft SharePoint - Site - Site settings - Customize "name of Library" - Settings -  Permissions for this document library
Microsoft SharePoint – Site – Site settings – Customize “name of Library” – Settings – Permissions for this document library

8 Now you can click on “Grant Permissions” to add people or groups then set right permission and delete or edit uer permission

Microsoft SharePoint - Site - Site settings - Customize "name of Library" - Settings -  Permissions for this document library - Permissions
Microsoft SharePoint – Site – Site settings – Customize “name of Library” – Settings – Permissions for this document library – Permissions

How to remove Office 365 Account from Microsoft Outlook properly

Keyword: Sign out, remove account, delete account, Office 365 account, from Microsoft Outlook

1 Open Microsoft Outlook

2 Click on “File”

Microsoft  Outlook Menu bar
Microsoft Outlook Menu bar

3 Click on “Office Account”

Microsoft  Outlook - File
Microsoft Outlook – File

4 Click on “Sign out”

Now you are logged out from Outlook proberly.

Note: By only delete Outlook profile from Outlook settings, it does not remove your Office 365 account login details from Outlook, by following this guide, your Office 365 login details will be removed, you can still add your account again, instead of type your email address and automatically sign you in, after this guide, you need to manually sign in again.

How to fix Microsoft Outlook freeze issue

Keywords: Outlook, Office 365, Outlook Freeze, Outlook not responding, Microsoft Outlook

If you have connected Office 365 account in Outlook desktop, you probably will have Outlook freeze issue from time to time. Here is a quick fix might work, if it keeps saying connecting exchange server.

Enable Outlook Cached Exchange Mode

1 Make sure you have enough disk space for downloading all emails from exchange server. (Means your hard drive’s free space should be bigger than your used mailbox size)

1.2 To find out your free local disk space, you need to open file explorer. (In this example, 164 GB free)

Microsoft Windows File Explorer - C drive disk usage and free space
Microsoft Windows File Explorer – C drive disk usage and free space

1.3 To find out your mailbox usage, you need to open Outlook, click on File from menu bar

Outlook Menu bar
Outlook Menu bar

2 Have a look on “Mailbox Settings” section, you will see how much space used. (3 GB used in this example)

Outlook Menu bar - File - Account Information
Outlook Menu bar – File – Account Information

3 If you have enough disk space, continue. Click on “Account Settings” icon, then click on “Account Settings” from drop down menu

Outlook Account Settings
Outlook Account Settings

4 Select Click on “Change…” button

Outlook Account Settings Menu
Outlook Account Settings Menu

5 Check “Use Cached Exchange Mode to download email to an Outlook data file”, Drag the handle to right hand side to make sure all emails will be downloaded, click “Next” button to save settings.

Outlook - Exchange Account Settings
Outlook – Exchange Account Settings

6 Leave Outlook open for awhile (Actual time depends on how big is your mailbox and how fast is your internet connection), so it can download all emails. When finished, you should not have freeze issue anymore.

Note: If you are still experiencing Outlook freeze issue, it can be other factors like plugins etc.

How to Change date format in Office 365 Sharepoint

Keywords: Office 365, Sharepoint, Date format, Microsoft Office 365, Microsoft Sharepoint

Change the date format in following screenshot

Sharepoint - Date Column
Sharepoint – Date Column

To change the date format:

1 Open the site and Click on “Site contents”

Sharepoint - Site - Site contents
Sharepoint – Site – Site contents

2 Click on “Site settings” at the top right corner

Sharepoint - Site - Site settings
Sharepoint – Site – Site settings

3 Find “Site Administration”, Click on “Reginal settings”

Sharepoint - Site - Site settings
Sharepoint – Site – Site settings

4 Change the Time Zone and Locale if you wish.

Sharepoint - Site - Site settings - Reginal Settings
Sharepoint – Site – Site settings – Reginal Settings

5 Click on “OK” button at the bottom

6 Now open the site again, the date format should be right for your region.

Kali Linux apt upgrade Error – File has unexpected size

If you have encountered this error, it can be your firewall or other anti virus software blocked the download.

Err:3 http://http.kali.org/kali kali-rolling/main amd64 gzip amd64 1.9-3+b1
   File has unexpected size (220668 != 128516). Mirror sync in progress? [IP: 104.18.103.100 80]
   Hashes of expected file:
 SHA256:e523e6898509a24e6a6424b4fcd4575354a771a4e17ebc244e4a52986a781873
 SHA1:a75db093d2b6f6939be80ab076c78d4e3c1cd54b [weak]
 MD5Sum:679ac9ca25637099514d9f3b1e3ceed5 [weak]
 Filesize:128516 [weak] 
Kali Linux - apt upgrade, File has unexpected size
Kali Linux – apt upgrade, File has unexpected size

A quick workaround can be using https instead of http

Enter this command, then use apt clean, apt update and apt upgrade

echo "deb https://http.kali.org/kali kali-rolling main non-free contrib" > /etc/apt/sources.list

apt clean
apt update
apt upgrade

Ubuntu 18.04.3 LTS /usr/lib/apt/methods/http: relocation error

When updating package list with sudo apt update, following error comes up

/usr/lib/apt/methods/http: relocation error: /usr/lib/x86_64-linux-gnu/libgnutls.so.30: symbol _idn2_punycode_decode version IDN2_0.0.0 not defined in file libidn2.so.0 with link time reference    
Reading package lists… Done
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (127)
E: Method /usr/lib/apt/methods/http did not start correctly

1 Download http://ftp.us.debian.org/debian/pool/main/libi/libidn2/libidn2-0_2.0.5-1_amd64.deb

2 Run sudo dpkg -i path/libidn2-0_2.0.5-1_amd64.deb

How to stop Google Calendar Scam

Keywords: Google Calendar, Scam, Spam, calendar invitation, unknown calendar events, phishing, prevent calendar scam

If you are seeing unknown or abnormal events in your Google calendar, follow the steps to stop it, otherwise your Google calendar might get flooded by those scam /phishing events.

1 Login to your Google calendar: https://calendar.google.com

2 Click on the settings (gear) icon at top right corner

Google calendar
Google calendar

3 Click on “Event settings” at left hand side, click on “Automatically add invitations”, set it to “No, only show invitations to which I have responded”

Google calendar - Event settings
Google calendar – Event settings

4 Click on “Events from Gmail” at left hand side, uncheck “Automatically add events from Gmail to my calendar”

Google Calendar - Events from Gmail
Google Calendar – Events from Gmail

Computer can only access Google, YouTube, microsoft.com etc. or Nothing at all

Keywords: Internet connection, Limited internet access, netsh, winsock, ipconfig, Microsoft Windows, WiFi, WiFi Router, Modem

Sometimes, you will find that your computer can only access Google, or microsoft.com etc.

For Mirosoft Windows there are many tricks you can try:

1 Win + R

2 Type cmd and hit Enter key.

Try each of these and hit enter at the end of each line

(If use netsh int ip reset, ignore netsh int ipv4 reset and netsh int ipv6 reset)

netsh winsock reset
netsh int ip reset
netsh int ipv4 reset
netsh int ipv6 reset

3 Restart your computer

4 Follow step 1-3 and type following commands, hit enter at the end of each line

ipconfig /release
ipconfig /renew

5 Wait 3 minutes

If you still can not get online.

Try to power cycle/restart your WiFi/Router/Modem. (Normally the box at home or small office you use to access WiFi and internet.)