hundreds-fireman-35961
07/08/2025, 12:22 PMerror: Preview failed: OIDC authentication was requested via useOidc/ARM_USE_OIDC but no token or request URL were
configured. See <https://www.pulumi.com/registry/packages/azure-native/installation-configuration/#credentials> for more information.
I tried to check different sources but I was not able to find the way how to get it work.
Did any of you solve this?echoing-dinner-19531
07/08/2025, 12:39 PM--run-program
option for refresh? https://www.pulumi.com/blog/improved-refresh-destroy-experience/
That will re-run the program to refresh credentials for refresh the same way it would for up.hundreds-fireman-35961
07/08/2025, 1:09 PMhundreds-fireman-35961
07/08/2025, 2:01 PMechoing-dinner-19531
07/08/2025, 2:24 PMhundreds-fireman-35961
07/08/2025, 2:28 PMhundreds-fireman-35961
07/08/2025, 2:30 PMhundreds-fireman-35961
07/08/2025, 4:22 PMechoing-dinner-19531
07/08/2025, 4:44 PMhundreds-fireman-35961
07/09/2025, 7:38 AMechoing-dinner-19531
07/09/2025, 10:34 AMalways single platform to process and provide pulumi's operationsYou don't have to just have one platform, you just have to make sure that everywhere that runs it can auth in some way. They don't even have to be the same auth methods.
hundreds-fireman-35961
07/09/2025, 1:23 PMechoing-dinner-19531
07/09/2025, 3:16 PMOr maybe if we would not fill any auth method it will take the context one? So it would be possible to get the "local" az login context?Yeh if you don't set any config most providers will pull ambient config. Sometimes you just need to change config between CI and local though.
But there is still the configuration issue i believe. (Running the pulumi refreshe without --run-program would result in wrong state of not refreshing used context for provider right?)Yes, I don't think there's really a lot to help there except making sure you always use --run-program. We're looking at making that the default in the future because of reasons like this.
hundreds-fireman-35961
07/10/2025, 7:37 AM