I am trying to grant Group privileges on a Library that I created in my Power Automate Flow. I successfully create the library, but when I try to grant access for the group, it requires ID to be passed that is integer.
To try to get this integer ID, I call "Get folder metadata using Path" but it always returns "-1" for ItemID. The other variable it returns is ID which is a GUID and not an integer. When I use "-1" in the grant access it always fails. I am looking for a way to get the ID from a library to pass to the grant action. I know it has to be simple since I cannot find reference to it anywhere.