Skip to primary content
Skip to secondary content

server1.dk

Tech Tips

server1.dk

Main menu

  • Home

Tag Archives: app registration

Create secret with Powershell for Azure App registration

Posted on May 2, 2022 by Henrik
Reply
$startDate = Get-Date
$endDate = $startDate.AddYears(80)
$ObjectID = "132645645-d39e-4658-ab92-306cbb637421"
$Name = "SecretName"
Connect-AzureAD
$aadAppsecret01 = New-AzureADApplicationPasswordCredential -ObjectId $ObjectID  -CustomKeyIdentifier $Name -StartDate $startDate -EndDate $endDate
$aadAppsecret01.value
Posted in Uncategorized | Tagged app registration, Azure, powershell | Leave a reply
Recommended by server1.dk

Tags

  • 32bit
  • 64bit
  • Active Directory
  • ad
  • array
  • Azure
  • azure ad
  • azure function
  • cmd
  • costcenter
  • curl
  • datalake
  • Exchange
  • Exchange 2016
  • gateway
  • hashtable
  • integer
  • linux
  • network
  • nuget
  • ping
  • pip
  • policy
  • ports
  • powershell
  • print
  • public folder
  • random
  • remote
  • REST
  • Roles
  • rsat
  • sms
  • sql
  • SSL
  • string
  • tags
  • tcp
  • text message
  • Virtual Machine
  • windows
  • Windows 10
  • Windows 11
  • windows server
  • Windows Update

Recent Posts

  • You can’t access this shared folder because your organization’s security policies block unauthenticated guest access April 25, 2025
  • Download Windows 11 trial without registration March 18, 2025
  • Link to download English version of Windows Server 2025 without registration December 23, 2024

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress