While creating a SharePoint connection , it always taking my email id as username .I am trying to connect with other account at login popup, but again it taking my email as username .
Can you please help how to add svc account having domain ct.chevrontexaco.net service account as username for API?
We can make changes like below-
Go to particular Logic App and in the left hand side blades list,
choose 'API Connections' under 'Development Tools' category.
Check all the API connections associated with the logic app and
choose the one that is related to SharePoint/office365.
Within the particular API Connection screen, in the left hand side
blades list, choose 'Edit API Connection' under 'General' category.
In the Edit API Connection Screen, Change the 'Display name' and click 'Authorize' and after
authorization successfully done, click 'Save' below.
Related
We are developing a react-native app where the client wants a 'Join Discord' button.
We also want to track if the user has joined our server or not.
So we want:
A Join button which will prompt users to log into/register with discord and join our server. The button will be greyed out if the user has already joined the discord server.
We can create personalized invite links for each user, store links related to each user in db and track the 'uses' of each link to check if the user has joined or not. This is an indirect method, but might work.
We also thought of creating an input field on the react-native app for discord usernames and just checking if that particular user is part of the server already or not.
Both of these implementations seem to be a hassle (for end user or for us)
Is there any better alternative?
Like login using discord and join server?
First of all, you need to make the user login to discord and to your service via discord oauth2. Save user's ID because you need it soon. Then use a bot, add it to your server and check whether that user is in the server or not, and grey the button if he's present. If not, let the bot generate invite link with only one usage, or better yet, make user login with join servers scope, and add user to your server with his auth token.
I have a simple azure logic app as follows.
Now I add a new action after the first one.
Select an email action.
Look for send email action
Now no mater what I do, I get this error
Please check your account info and/or permissions and try again. Details: REST API is not yet supported for this mailbox. This error can occur for sandbox (test) accounts or for accounts that are on a dedicated (on-premise) mail server. clientRequestId: 9295041e-4d27-4d7f-8ac7-9f90f1cc65ff serviceRequestId: 17c7df3b-7f07-6d27-4f7b-68a4475e9b55 More diagnostic information: x-ms-client-request-id is '51B43F16-6D7C-4BE7-9AE2-7B4A6B73BA49'.
I click Change Connection above and I see these increasing number of connection, and I find no way to delete them. See the last image at the bottom.
And when I click Save, I get this message.
Save logic app failed. Failed to save logic app vivek-logic-app. Some of the connections are not authorized yet. If you just created a workflow from a template, please add the authorized connections to your workflow before saving.
And finally when I click Api Connections, I find no connections to delete.
So two questions.
How to authorize hotmail account te be used by Azure Logic App
How to delete the un-necessary connections
Ok, here it is after a good 3 hour PIA.
For the connections to manage(or delete), look at the resource group and not the Logic app.
And next for the send email action, choose Outlook.Com connection and not Office 365 Outlook. Found the answer here. Mine is personal account and not for work or for school.
Once you setup this action successfully, you can take a look at this page for managing the connection access.
I am trying to access the multiple communities in multiple salesforce sites with same connected-app but could not.
For example: I have created the two salesforce sites A and B. And created connected-app in A. To access rest API of A, i could authenticate with connected-app in A, But how to connect with B with using the same client_secret and client_id by differs in user_name and password?
Or is there any way to connect with REST API with username and password as creds?
Example: There is community_A1, community_A2 in Site A and community_B1 , community_B2 in Site B.
I need to access communities in both the Sites
This should work out of the box, what errors you're getting?
You can have 1 set of consumer key and secret and (if admin in target org didn't block it) you could use this to login to any SF in the world, sandbox or production, core SF or community.
Imagine being a developer of mobile app that pulls data from salesforce. You'd want to have just 1 pair of keys, not install separate key for every org people might install your app...
All org-specific stuff you need is username, password and login url. For community the login url will look like https://sandboxName-MyDomain.cs123.force.com/communityName
Once you have that, you can inspect all the OAuth2 stuff at https://sandboxName-MyDomain.cs123.force.com/communityName/.well-known/openid-configuration
Have you played with https://openidconnect.herokuapp.com/ ?
Paste your community url, for now keep the client and secret as is, click next. Login to community and keep clicking next. It should work fine and at the end - give you access_token / session id.
Now close this browser completely / open new incognito window and do it again. This time give your login url but also client and secret. Next, Next... Check the user's login history, it should mention your connected app now.
Now close this and do it last time, with the other community's login url and another user's credentials but still with your client and secret.
is there any way to connect with REST API with username and password
as creds?
Not for community. Internal users can get access in one go with https://help.salesforce.com/s/articleView?id=sf.remoteaccess_oauth_username_password_flow.htm&type=5 but community/experience users need this interactive login, there has to be a human consent / password typing step. And anyway it's not very secure flow. "Experience Cloud sites don’t support the OAuth 2.0 username-password flow."
In a pinch you could try the SOAP API's login method but from what I remember you may need to pass the community's Id in the message then
Connected-app is global metadata in salesforce. Once we create a connected-app in one org, then can access any salesforce site with the same client_id,client_secret, unless the admin has blocked the access.
I needed to add the custom profile into the community members to allow the access to the community via API (Community workspace -> administration -> members -> profiles.)
i currently stuck on building an account check like whatsapp.
When a user clicks on his smartphone on his/her contacts, it should display, which user has an existing account.
So in theory it should post all user contacts to server, server checks if there is an account with this email adresse and sends the "updated list" back to the client.
Sounds easy, but how do i do something like that :)
Getting the contacts is working, also posting contacts to server.
I had my backend on backand.com and building an app with Ionic/Angular.
This should be very simple.
The core functionality here is based on Backand built in 'users' object, it holds all users you've added to your app, a simple GET to this object will return all your users details including emails.
Now you can add a serverside js action that
gets the contacts details from the client-side app in the request body (as JSON)
does an $http call to the users object ro fetch exiting users.
loops the contacts and search for them in the users array
I had a SF userid go expired and I've got a bunch of envelopes that need to be updated with the appropriate status. I send out envelopes via the api. Then I programmatically create the dsfs__DocuSign_Status__c including the evelope id and AccountID/Company. As soon as Docusign gets sends the envelope it updates the dsfs__DocuSign_Status__c record and creates the dsfs__DocuSign_Recipient_Status__c records. All this works great. My issue is my SF ID's password expired and I have 100s of missing dsfs__DocuSign_Recipient_Status__c records. How can I force an update from DS?
Yes you can force DocuSign Connect (webhook) updates to be re-sent, however you can only do it if you are a member of the sending account. For instance, if a given account member has DocuSign Connect configured, and they send a signature request through Salesforce using their DocuSign account, then they can re-publish those updates through their account settings.
To re-send DocuSign Connect updates:
Login to your sandbox or DocuSign account and in the top right profile drop down select "Go to the Admin".
Under the Integrations section on left select "Connect".
Click the LOGS button at the top of the connect configuration screen.
On a given connect log click the REPUBLISH button to re-send the update.