I have the same problem
Unable to create New AzPeerAsn with cmdlet
I'm trying to create a new direct peering. Following the docs at:
https://learn.microsoft.com/en-us/azure/internet-peering/howto-direct-powershell
Using Powershell, I run into an error:
New-AzPeerAsn \-Name "companyname"
-Peername "Copany name on PeeringDB" \-PeerAsn 1234
-Email noc@companyemail.net
-Phone "+1 (333) 333-3333
The error I get is: A parameter cant be found that matches parameter name 'Email'. If I repeat it, without email, I get the same error for phone. If I leave -Phone off as well, it asks for ContactDetail[0]: to which I put our email address in and then get the error:
New-AzPeerAsn: Cannot bind parameter 'ContactDetail'. Cannot convert the ""noc@xxxxxxxxxxxxx .net"" value of type "System.String" to type "Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.PSContactDetail".
If I forgo using Powershell and try the portal I get "Oops! Could not create the marketplace item".
Any help is appreciated!