OAuthClientSecret Parameter (Connect-OneNote Cmdlet)
The client secret assigned when you register your application with an OAuth authorization server.
Connect-OneNote -OAuthClientSecret string
As part of registering an OAuth application, you will receive the OAuthClientId, also called a consumer key. You will also receive a client secret, also called a consumer secret. Set the client secret in the OAuthClientSecret property.