Tried Get-ODAuthentication and got the below error
$Auth = Get-ODAuthentication -ClientId $splat.ClientId -AppKey $splat.AppKey -RedirectURI $Splat.RedirectURI -ResourceId $splat.ResourceId
Add-Member: C:\Users\CYBERNET\Documents\PowerShell\Modules\OneDrive\2.2.7\OneDrive.psm1:127:47
Line |
127 | … thentication | add-member Noteproperty $element.split("=")[0] $elemen …
| ~~~~~~~~~~~~~~~~~~~~~~
| Cannot bind argument to parameter 'Name' because it is an empty string.