We currently have JFrog's Artifcatory as our repository tool of choice, with single-sign on using SAML and Azure Active Directory.
I have now also created a local AF repository for our PowerShell modules. This all works when I use an internal AF user, it works. To install a module I run something like:
$cred = Get-Credential #Your credentials for access to Artifactory
Install-Module MyModule -Repository "MyRepo" -Credential $cred
However, if I pass in credentials for my Azure AD user, I get
WARNING: Unable to resolve package source 'https://......'.
Which is not the "error" I was expecting but yeah, it'd need a token to proceed, not a regular credential.
Is there any way to be able to use PowerShellGet commands such as Install-Module with SAML authentication?