Thursday 25 March 2021

Tejas Rinith's Blog

 Glimpse of My Memories - My Son - Tejas

Venus Rinith's Blog

Endless Memories of My Daughter - Venus

Wednesday 13 January 2021

OneDrive Full: Corporate Level Issue






Key Points:

Approaching SharePoint Site Storage Limit

Get access to user files from office admin portal

Storage Metrics

Delete all versions

In our Org we had allocated 150GB OneDrive space out of 5TB for all staff due to SOE constraints. However, one employee (Mr X, x.xyz)  has complained that he got a notification saying 'Approaching SharePoint Site Storage Limit'. After initial investigation we found that  his drive is full 100%. But it looks like it is not. We have attached a screenshot of a file 'Archive Aug16.pst which shows 92.4GB size but the actual size of that file is just 3.43GB (screenshot attached for ref.).

We identified and remediated this issue by following the below steps: 

Manage Site Owners if you as an owner doesn’t have access to the user profile

https://yourorg365-admin.sharepoint.com/_layouts/15/online/AdminHome.aspx#/home

note: change yourorg365 to actual domain

more features > user profiles > open > manage user profiles > search user > manage site collection owners > add your name

Get access to files from office admin portal user

However, if you have retention policy applied then user won’t be able to delete these files after OneDrive becomes full

So, go to the compliance portal https://compliance.microsoft.com/?rfr=AdminCenter

Click Compliance

Show all >> information governance > retention > click ‘org defined retention - 7 years’ > Applies to content in these locations > Edit (OneDrive account) > OneDrive accounts > Exclude accounts > Click Exclude accounts > enter OneDrive URL https://yourorg365-my.sharepoint.com/personal/x_xyz_yourorg_com  and click done > Save

note: change yourorg365 to actual domain and x_xyz to actual user defined in your AD

Access user profile using office admin account

URL https://yourorg365-my.sharepoint.com/personal/x_xyz_yourorg_com

Click the settings icon 


 (seen at top right corner before your signed in account profile icon) and then click OneDrive Settings > Click More Settings > and under ‘Features and Storage’ click ‘Storage Metrics’

Select the file to be deleted under Site Settings > Storage Metrics > site collection and click ‘Version history’ (seen on right side of the selected file) and ten Delete All Versions. So in this scenario if you have 1GB single file, your OneDrive will show 35GB utilized because of 35 versions.

In fact we had approx.. 35 versions of the file in question.

Actual file shows 3.43 GB at the user end

At site collection storage metrics the same file shows over 92GB because of multiple versions of the same file (in our case we had over 32 versions)

Once you delete all versions you should also clean deleted files from recycle bin to see your OneDrive freeing up space.

site settings > Apps > Recycle Bin


Thursday 14 May 2020

Azure hosted VMs: VEEAM Backup Ports and MFA

Office 365 App ID, App secret and App Password Setup Guide for VEEAM Backup integration

Communication port requirement:

..Read this blog post to learn how to start with multi-factor authentication enabled accounts in Veeam Backup for Microsoft Office 365.

MFA setup


Verifying office365 account: https://portal.office.com/account

copy on-prem exchange mail flow receive connectors


how to copy on-prem exchange mail flow receive connectors to a new exchange server via powershell command

New-ReceiveConnector  -TransportRole FrontEnd "AppsDB Relay Connector" -Server **MEX01P -Bindings 0.0.0.0:25 -RemoteIPRanges ( Get-ReceiveConnector "**MV1MEX001\AppsDB Relay Connector" ).remoteIPRanges

Connectivity analyser

Time sync reference client-server

Domain clients stopped syncing time with PDC

This morning, few users started reporting time miss-match between current time and laptop time/ member server time. 

try this command for syncing w32tm /config /syncfromflags:domhier /update executed from PDC, primary domain controller. Also make sure that the timeserver is fetching time from time.windows.com

To determine if a domain member is configured for domain time sync, examine the REG_SZ value at HKLM\System\CurrentControlSet\Services\W32Time\Parameters\Type. If it is set to "Nt5DS" then the computer is synchronizing time with the Active Directory time hierarchy.

Also, check from client machine via cmd prompt
net time \\’your domain name’

To check what was the last successful sync time
w32tm /query /status 

to see if there is time mismatch.

Exchange Online: How to enable your tenant for modern authentication

The Office 365 tenant/resource host (Exchange Online, SharePoint Online and Skype for Business Online) will need to be configured to accept a modern authentication connection. Here is the per service state of modern authentication by default :
  • Exchange Online - ON by default.
  • SharePoint Online - ON by default.
  • Skype for Business Online - ON by default.

Steps

This article explains how to enable your Exchange Online tenant to support modern authentication.
  1. Connect to Exchange Online using remote PowerShell: refer here ventej.blogspot.com
  2. Run the following command:
    • Set-OrganizationConfig -OAuth2ClientProfileEnabled:$true
  3. Verify that the change was successful by running the following:    
    • Get-OrganizationConfig | ft name, *OAuth*