You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Microsoft.Graph Modules have different GUIDs for each Release #1140
It looks like on each new release you update the GUIDs for the powershell modules. It is my understanding that this should not be the case and the GUID should be immutable and only the module versions should change.
This causes issues downstream as Ive defined in my own modules to require version 1.9.2 or greater for Microsoft.Graph.Users with the guid specified. However when powershell tried to download the newest version (1.9.3) if failed as the GUIDs did not match.
Can you please explain if this is by mistake or deliberate?
changed the title [-]Microsoft.Graph Modules has a different GUIDs for each Release[/-][+]Microsoft.Graph Modules have different GUIDs for each Release[/+]on Mar 11, 2022
Microsoft.Graph.Authentication is a hand crafted module, the others are autogenerated by AutoREST. This is likely why they get a new Guid. We will have to investigate to see if AutoREST has the ability to keep the same Guid.
In my opinion this should be something that is looked into, otherwise it will cause issues with anyone using it in their powershell manifest and not being explicit on version.
Activity
[-]Microsoft.Graph Modules has a different GUIDs for each Release[/-][+]Microsoft.Graph Modules have different GUIDs for each Release[/+]MarkDordoy commentedon Mar 11, 2022
Microsoft.Graph.Users 1.9.2 https://www.powershellgallery.com/packages/Microsoft.Graph.Users/1.9.2/Content/Microsoft.Graph.Users.psd1 - GUID
8498b9d9-1b58-4183-9b8f-550477c4727d'Microsfot.Graph.Users 1.9.3 https://www.powershellgallery.com/packages/Microsoft.Graph.Users/1.9.3/Content/Microsoft.Graph.Users.psd1 - GUID
49bc3df5-2b41-45b7-8ced-46ff3b6dc57fMarkDordoy commentedon Mar 14, 2022
Interestingly, the module GUID is fixed in the Microsoft.Graph.Authentication module:
883916f2-9184-46ee-b1f8-b6a2fb784ceeThis is used in both version 1.9.1, 1.9.2 and 1.9.3 (and i suspect all previously released versions)
darrelmiller commentedon Mar 23, 2022
Microsoft.Graph.Authentication is a hand crafted module, the others are autogenerated by AutoREST. This is likely why they get a new Guid. We will have to investigate to see if AutoREST has the ability to keep the same Guid.
MarkDordoy commentedon Mar 23, 2022
In my opinion this should be something that is looked into, otherwise it will cause issues with anyone using it in their powershell manifest and not being explicit on version.
peombwa commentedon Jun 29, 2022
We will temporarily address this in our upcoming release as we wait for AutoREST to fix this.