Run the Connect-CrmOnlineDiscovery -InteractiveMode command and follow the familiar prompt to connect. Run the following command: Export-CrmSolution Packt