Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using only PAT for authentication raises errors #44

Closed
yannick-beot-sp opened this issue Jul 30, 2021 · 5 comments · Fixed by #45
Closed

Using only PAT for authentication raises errors #44

yannick-beot-sp opened this issue Jul 30, 2021 · 5 comments · Fixed by #45
Assignees
Labels
bug Something isn't working

Comments

@yannick-beot-sp
Copy link

Perhaps, I'm mistakening but PAT should be enough.
When I'm configuring only PAT, I get error in Get-IdentityNowAuth.ps1:160
(I have only the error message in French...).

@darrenjrobinson darrenjrobinson self-assigned this Jul 31, 2021
@darrenjrobinson darrenjrobinson added the bug Something isn't working label Jul 31, 2021
@410sean
Copy link
Contributor

410sean commented May 26, 2022

Hi Darren, it looks like you addressed this in 1.1.6. did you have an eta on publishing the new version? thanks!

@darrenjrobinson
Copy link
Owner

In v1.1.5 using only a PAT works. I did it again this week looking at this issue

Are you seeing something different?

v1.1.6 has been on my mind though as I need to urgently go through all the v2 API calls and update the GET/Search functions for paging at 250 results per call.

@410sean
Copy link
Contributor

410sean commented May 27, 2022 via email

@darrenjrobinson
Copy link
Owner

Ah yes, I also used the Admin-name & Password with PAT.

Been a while since I looked at Autorest. It was never as straightforward as it should be/was promised.

https://blog.darrenjrobinson.com/using-autorest-for-powershell-to-generate-powershell-modules/

Appreciate the PR's. Will consolidate for v1.1.6.

@410sean
Copy link
Contributor

410sean commented Jun 6, 2022

still poking at autorest, getting it working with IDN is an effort.

my pull request is not comprehensive update to API but everywhere i could find limit i lowered to 250. my update today on Get-IdentityNowAccessProfile within my fork i'm thinking can be one option for how this module offers api choice and looping using -all switch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants