Troubleshooting Yandex Identity and Access Management
Why do I get the 403 Forbidden or Permission Denied error when working under the service account?
Make sure the service account has roles for the resource it works with or for the parent folder or cloud. A role for the service account itself as a resource does not grant access to virtual machines, buckets, or other resources.
Assign the necessary roles to the service account as detailed in Assigning a role to a service account.
What should I do if I get the Service account is not available error?
You may encounter this error when working through the console, CLI, API, or other tools if the requesting account has no permissions to use the selected service account.
Assign to that account the iam.serviceAccounts.user role for the service account in question by following this guide. You can also assign the role for the parent folder or cloud.
If you are sending the request using the same service account you are associating with the resource, that service account also needs permissions to use itself. For example, these permissions are checked when creating a container revision in Serverless Containers.
Why cannot I assign the cloud owner role?
The Role 'resource-manager.clouds.owner' is only applicable to resources of type 'resource-manager.cloud' error means that you are assigning the role for a resource of a different type, e.g., a folder or organization.
You can assign the resource-manager.clouds.owner role only for a cloud. In the access permission section, select the cloud and assign the role by following this guide. Only the cloud owner can assign this role.
What should I do if I get an error when sending or accepting an invitation to an organization?
Your actions depend on the error message:
No valid emails. Or all specified emails have been invited before: Check the email addresses and whether the users are already in the organization or the list of invitees.Invitation ... has 'ACCEPTED' status. Expected status 'PENDING': Invitation has already been accepted. Log in to the organization using the account that was selected when accepting the invitation. It does not have to be accepted again.Invitation ... has been expired after ...: Invitation has expired. Ask the administrator to resend the invitation.Permission denied: Check which account is used to perform the action. To send invitations, the user needs the necessary roles. If the error occurs when accepting the invitation, report its details to the organization administrator or support.
If you see Contact the organization administrator for a new invitation, open the error details and check the invitation status. The administrator can delete the invitation or resend it.
If the issue persists, contact support
Why is the federated user missing from the organization?
If a user is on the list of federated users but not on the list of organization users
Add the user to the federation again. Use their Name ID on the identity provider's side: this ID may not be matching their email address.
After you add the user again, their user ID in the organization will change. Check the new account’s access permissions and reassign the necessary roles.
Why are the user’s name and email address not shown in the organization?
The original account may have been deleted on the Yandex 360 or identity provider's side. Check this with the administrator and, if the account is no longer used, delete the user from the organization.
How to fix the The signature of response or assertion was invalid error?
Check the certificate your identity provider uses to sign SAML responses. If the certificate was updated on the provider's side, add the current certificate to the federation.
For automated updates, use the CLI or API as per this guide. Make sure you use a SAML federation certificate, not an authorization key of the service account.
How to fix the Response is invalid in a general way error?
The Response is invalid in a general way or The assertion was not valid error means that the identity provider’s SAML response failed validation.
- Make sure the provider's settings specify your federation’s ACS URL.
- Check the SAML response signing settings and certificate as per the recommendations for signature errors.
- Check the settings against the guide for your identity provider.
- After you update the settings, try logging in again.
If the error persists, contact support