My requirement is to create an Azure Active Directory Application and a client secret for that application via Powershell. I know how to do it via Azure Portal. To create an Azure Active Directory Application I found this command:
New-AzureADApplication -DisplayName DemoApp
This successfully created an Application. But my problem is with client secret. Is there is any command to do this?