Sunday, 16 August 2026

Is Pondicherry, Celebrating Independence Day twice ?

 Is Pondicherry,  Celebrating   Independence Day twice ?




Come on Lets Check!


We all know India celebrates 15th August as Independence day Every year, Pondicherry Celebrated it too.. Then what is it celebrating on 16th of August every year?


Pondicherry is celebrating De Jure Transfer Day  on 16th August every year since 1962.



what is De Jure Transfer Day? 



After achieving independence, the Indian government initiated diplomatic efforts to integrate French-Indian territories. This movement was supported on the ground by the National Youth Congress's Satyagraha campaign, where activists faced severe police retaliation and lathi charges from the French-Indian police.









The defining moment of the movement occurred during the Kizhoor Congress on 18 October 1954. Under the leadership of Assembly President Monsieur Balasubramanian, elected representatives voted via secret ballot on the joint settlement proposals. A decisive majority of 170 to 8 favored the merger.












Consequently, on 1 November 1954, France transferred administration of Pondicherry, Karaikal, Yanam, and Mahe to India. The transition was marked by M.R.K. Nehru hoisting the Indian flag and the formal exchange of signatures between Kewal Singh and Pierre Landy. This day is celebrated as Liberation day.













However The democratic process  went on for few years and concluded on 16 August 1962, when the French Government officially ratified the De Jure transfer.




So Pondicherry is celebrating the transfer of power as De Jure transfer Day on 16th of August every year.


Thursday, 22 December 2022

 வாழ்க்கை முழுவதைம் அள்ளிச்சென்ற  பின், 

 கனவில்  மட்டும்  வந்து 

 ஏன் இன்பம்  காட்டுகிறாய்...

கனவு கலைந்ததும்  உண்மை  வாட்டுகிறது...


கனவாவது  கலையாமல்  இருந்திருக்கலாம்.....

கனவையும் இப்போதெல்லாம் வெறுக்கிறேன்...

கலைந்தது  கனவின்  தவறா?

இல்லை விழித்துழுந்தது  என்  தவறா?


Thursday, 19 August 2021

Find the last logon timestamp of users in Azure AD using PowerShell

Find the last logon timestamp of users in Azure AD using PowerShell



 get-ADUser - filter {enabled -eq $true} -properties LastLogonTimeStamp | Select-object Name,@{Name="Stamp"; Expression={[DateTime] ::FrmFileTime($_.LastLogontimeStamp).Tostring('yyy-mm-dd_hh:mm:ss')}} | Export-csv -Path C:\Users\Ravanan\lastlogon.csv 




PS: check in Dev before running on Prod

Monday, 20 January 2020

ADFS ERROR : ADMIN0017 ADFS ERROR : An error occured during an attempt to access the ADFS Configuration Database:



ADFS ERROR :  ADMIN0017
ADFS ERROR :  An error occured during an attempt to access the ADFS Configuration Database:

ADFS ERROR :  An error occured during an attempt to access the ADFS Configuration Database:
Error Message: ADMIN0017: An Exception Occured while Connecting to the configuration Service. the configuration service URL 'net.tcp://localhost:1500/policy' may be incorrect or the ADFS Windows service is not running.

I came across this error message in my lab set up as today as I was trying to add a new Relying party trust.

IDP page is also not working, there were no options in ADFS Consile in the left hand side.

I just restarted the ADFS service,

 IDP started working and the options to came up.

if this doesnt work, for WID service in services and ADFS service re-enter the password for te service account.

please comment if this helped you as well!


Wednesday, 1 January 2020

Azure AD Connect : PowerShell script to check the AD Connect Password Sync status and send E-mail to Admins


Hello All,

Here is the PowerShell script to send an email to DL about the status of the password sync in a CSV.

Here i have used Get-MsolCompanyInformation.
this gives details like,
last sync time
last password sync time
technical notification email
service account used to perform the sync.

this has to be run on the AD Connect server with elevated rights.
before  running, get-msolcompany information you need to connect to azure.
so open PowerShell with admin rights,
run Connect -msolservice ( in the pop up enter the Global admin credentials)
now run the below script, this store the csv file in the path and also send an email to the address specified.

You can also store the encrypted creds in the script. this is an easy way.

post your suggestions and thoughts in the comments



###########AD CONNECT  PASSWORD SYNC STATUS######## 

$fromaddress = "user@abc.com" 
$toaddress = "adminDL@abc.com" 
 $ADConnect = get-MsolCompanyInformation >\\"path to write the output in csv"\ADC.csv
 $body =   "Please Find the Sync Scheduler info of AD CONNECT attached in the CSV and take actions if necessary. THANK YOU!!" 
 $date = get-date
$Subject = " $date : Pls See the state of AD Connect Sync" 

$attachment = "\\"path of the folder whee teh output csv is located"\Documents\11\ADC.csv" 
$smtpserver = "SMTP.abc.com" 

#################################### 

$message = new-object System.Net.Mail.MailMessage $message.From = $fromaddress
$message.To.Add($toaddress)
###############################################



$message.Subject = $Subject
$attach = new-object Net.Mail.Attachment($attachment)
$message.Attachments.Add($attach)
$message.body = $body 

$smtp = new-object Net.Mail.SmtpClient($smtpserver)
$smtp.Send($message) 

Is Pondicherry, Celebrating Independence Day twice ?

 Is Pondicherry,  Celebrating   Independence Day twice ? Come on Lets Check! We all know India celebrates 15th August as Independence day Ev...