In: kubernetes/Azure-ARM/deployprofisee.sh
in Line 148: akskvidentityClientId=$(az identity create -g $AKSINFRARESOURCEGROUPNAME -n $identityName --query 'clientId' -o tsv);
the Client ID is queried and later it is used where the object ID should be used: line 173 - 187
Same with $KUBERNETESCLIENTID line: 137 - 142
To set the role Assigments you have to use the Object ID!